ipip_var.h (207369) | ipip_var.h (252028) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ipip_var.h 207369 2010-04-29 11:52:42Z bz $ */ | 1/* $FreeBSD: head/sys/netipsec/ipip_var.h 252028 2013-06-20 11:44:16Z ae $ */ |
2/* $OpenBSD: ip_ipip.h,v 1.5 2002/06/09 16:26:10 itojun Exp $ */ 3/*- 4 * The authors of this code are John Ioannidis (ji@tla.org), 5 * Angelos D. Keromytis (kermit@csd.uch.gr) and 6 * Niels Provos (provos@physnet.uni-hamburg.de). 7 * 8 * The original version of this code was written by John Ioannidis 9 * for BSD/OS in Athens, Greece, in November 1995. --- 47 unchanged lines hidden (view full) --- 57 u_int32_t ipips_family; /* Protocol family mismatch */ 58 u_int32_t ipips_unspec; /* Missing tunnel endpoint address */ 59}; 60 61#ifdef _KERNEL 62VNET_DECLARE(int, ipip_allow); 63VNET_DECLARE(struct ipipstat, ipipstat); 64 | 2/* $OpenBSD: ip_ipip.h,v 1.5 2002/06/09 16:26:10 itojun Exp $ */ 3/*- 4 * The authors of this code are John Ioannidis (ji@tla.org), 5 * Angelos D. Keromytis (kermit@csd.uch.gr) and 6 * Niels Provos (provos@physnet.uni-hamburg.de). 7 * 8 * The original version of this code was written by John Ioannidis 9 * for BSD/OS in Athens, Greece, in November 1995. --- 47 unchanged lines hidden (view full) --- 57 u_int32_t ipips_family; /* Protocol family mismatch */ 58 u_int32_t ipips_unspec; /* Missing tunnel endpoint address */ 59}; 60 61#ifdef _KERNEL 62VNET_DECLARE(int, ipip_allow); 63VNET_DECLARE(struct ipipstat, ipipstat); 64 |
65#define IPIPSTAT_ADD(name, val) V_ipipstat.name += (val) 66#define IPIPSTAT_INC(name) IPIPSTAT_ADD(name, 1) |
|
65#define V_ipip_allow VNET(ipip_allow) 66#define V_ipipstat VNET(ipipstat) 67#endif /* _KERNEL */ 68#endif /* _NETINET_IPIP_H_ */ | 67#define V_ipip_allow VNET(ipip_allow) 68#define V_ipipstat VNET(ipipstat) 69#endif /* _KERNEL */ 70#endif /* _NETINET_IPIP_H_ */ |