compile with no options INET
This commit is contained in:
parent
3b45b5fde4
commit
5994b27932
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tp_pcb.c,v 1.27 2005/12/11 12:25:12 christos Exp $ */
|
||||
/* $NetBSD: tp_pcb.c,v 1.28 2005/12/28 09:18:46 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -68,7 +68,7 @@ SOFTWARE.
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tp_pcb.c,v 1.27 2005/12/11 12:25:12 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tp_pcb.c,v 1.28 2005/12/28 09:18:46 christos Exp $");
|
||||
|
||||
#include "opt_inet.h"
|
||||
#include "opt_iso.h"
|
||||
|
@ -332,10 +332,14 @@ tp_init(void)
|
|||
if (init_done++)
|
||||
return;
|
||||
|
||||
#ifdef INET
|
||||
/* FOR INET */
|
||||
in_pcbinit(&tp_inpcb, 1, 1);
|
||||
#endif
|
||||
#ifdef ISO
|
||||
/* FOR ISO */
|
||||
tp_isopcb.isop_next = tp_isopcb.isop_prev = &tp_isopcb;
|
||||
#endif
|
||||
|
||||
tp_start_win = 2;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tp_subr2.c,v 1.28 2005/11/16 20:44:19 dsl Exp $ */
|
||||
/* $NetBSD: tp_subr2.c,v 1.29 2005/12/28 09:18:46 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -66,7 +66,7 @@ SOFTWARE.
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: tp_subr2.c,v 1.28 2005/11/16 20:44:19 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: tp_subr2.c,v 1.29 2005/12/28 09:18:46 christos Exp $");
|
||||
|
||||
/*
|
||||
* this def'n is to cause the expansion of this macro in the routine
|
||||
|
@ -843,9 +843,11 @@ void
|
|||
dump_addr(struct sockaddr *addr)
|
||||
{
|
||||
switch (addr->sa_family) {
|
||||
#ifdef INET
|
||||
case AF_INET:
|
||||
dump_inaddr(satosin(addr));
|
||||
break;
|
||||
#endif
|
||||
#ifdef ISO
|
||||
case AF_ISO:
|
||||
dump_isoaddr(satosiso(addr));
|
||||
|
|
Loading…
Reference in New Issue