in_pcb.h (114258) | in_pcb.h (119178) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1990, 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1982, 1986, 1990, 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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 |
34 * $FreeBSD: head/sys/netinet/in_pcb.h 114258 2003-04-29 21:36:18Z mdodd $ | 34 * $FreeBSD: head/sys/netinet/in_pcb.h 119178 2003-08-20 14:46:40Z bms $ |
35 */ 36 37#ifndef _NETINET_IN_PCB_H_ 38#define _NETINET_IN_PCB_H_ 39 40#include <sys/queue.h> 41#include <sys/_lock.h> 42#include <sys/_mutex.h> --- 94 unchanged lines hidden (view full) --- 137 int inp_flags; /* generic IP/datagram flags */ 138 139 struct inpcbpolicy *inp_sp; /* for IPSEC */ 140 u_char inp_vflag; /* IP version flag (v4/v6) */ 141#define INP_IPV4 0x1 142#define INP_IPV6 0x2 143#define INP_IPV6PROTO 0x4 /* opened under IPv6 protocol */ 144#define INP_TIMEWAIT 0x8 /* .. probably doesn't go here */ | 35 */ 36 37#ifndef _NETINET_IN_PCB_H_ 38#define _NETINET_IN_PCB_H_ 39 40#include <sys/queue.h> 41#include <sys/_lock.h> 42#include <sys/_mutex.h> --- 94 unchanged lines hidden (view full) --- 137 int inp_flags; /* generic IP/datagram flags */ 138 139 struct inpcbpolicy *inp_sp; /* for IPSEC */ 140 u_char inp_vflag; /* IP version flag (v4/v6) */ 141#define INP_IPV4 0x1 142#define INP_IPV6 0x2 143#define INP_IPV6PROTO 0x4 /* opened under IPv6 protocol */ 144#define INP_TIMEWAIT 0x8 /* .. probably doesn't go here */ |
145#define INP_ONESBCAST 0x10 /* send all-ones broadcast */ |
|
145 u_char inp_ip_ttl; /* time to live proto */ 146 u_char inp_ip_p; /* protocol proto */ 147 148 /* protocol dependent part; options */ 149 struct { 150 u_char inp4_ip_tos; /* type of service proto */ 151 struct mbuf *inp4_options; /* IP options */ 152 struct ip_moptions *inp4_moptions; /* IP multicast options */ --- 208 unchanged lines hidden --- | 146 u_char inp_ip_ttl; /* time to live proto */ 147 u_char inp_ip_p; /* protocol proto */ 148 149 /* protocol dependent part; options */ 150 struct { 151 u_char inp4_ip_tos; /* type of service proto */ 152 struct mbuf *inp4_options; /* IP options */ 153 struct ip_moptions *inp4_moptions; /* IP multicast options */ --- 208 unchanged lines hidden --- |