ip_var.h (185419) | ip_var.h (185895) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)ip_var.h 8.2 (Berkeley) 1/9/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)ip_var.h 8.2 (Berkeley) 1/9/95 |
30 * $FreeBSD: head/sys/netinet/ip_var.h 185419 2008-11-28 23:30:51Z zec $ | 30 * $FreeBSD: head/sys/netinet/ip_var.h 185895 2008-12-10 23:12:39Z zec $ |
31 */ 32 33#ifndef _NETINET_IP_VAR_H_ 34#define _NETINET_IP_VAR_H_ 35 36#include <sys/queue.h> 37#ifdef _KERNEL 38#include <sys/vimage.h> --- 133 unchanged lines hidden (view full) --- 172 173struct ip; 174struct inpcb; 175struct route; 176struct sockopt; 177 178extern struct ipstat ipstat; 179extern u_short ip_id; /* ip packet ctr, for ids */ | 31 */ 32 33#ifndef _NETINET_IP_VAR_H_ 34#define _NETINET_IP_VAR_H_ 35 36#include <sys/queue.h> 37#ifdef _KERNEL 38#include <sys/vimage.h> --- 133 unchanged lines hidden (view full) --- 172 173struct ip; 174struct inpcb; 175struct route; 176struct sockopt; 177 178extern struct ipstat ipstat; 179extern u_short ip_id; /* ip packet ctr, for ids */ |
180extern int ip_do_randomid; |
|
180extern int ip_defttl; /* default IP ttl */ 181extern int ipforwarding; /* ip forwarding */ 182#ifdef IPSTEALTH 183extern int ipstealth; /* stealth forwarding */ 184#endif 185extern u_char ip_protox[]; 186extern struct socket *ip_rsvpd; /* reservation protocol daemon */ 187extern struct socket *ip_mrouter; /* multicast routing daemon */ --- 52 unchanged lines hidden --- | 181extern int ip_defttl; /* default IP ttl */ 182extern int ipforwarding; /* ip forwarding */ 183#ifdef IPSTEALTH 184extern int ipstealth; /* stealth forwarding */ 185#endif 186extern u_char ip_protox[]; 187extern struct socket *ip_rsvpd; /* reservation protocol daemon */ 188extern struct socket *ip_mrouter; /* multicast routing daemon */ --- 52 unchanged lines hidden --- |