in_pcb.h (139823) | in_pcb.h (149371) |
---|---|
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 --- 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 * @(#)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 --- 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 * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 |
30 * $FreeBSD: head/sys/netinet/in_pcb.h 139823 2005-01-07 01:45:51Z imp $ | 30 * $FreeBSD: head/sys/netinet/in_pcb.h 149371 2005-08-22 16:13:08Z andre $ |
31 */ 32 33#ifndef _NETINET_IN_PCB_H_ 34#define _NETINET_IN_PCB_H_ 35 36#include <sys/queue.h> 37#include <sys/_lock.h> 38#include <sys/_mutex.h> --- 89 unchanged lines hidden (view full) --- 128 u_char inp_vflag; /* IP version flag (v4/v6) */ 129#define INP_IPV4 0x1 130#define INP_IPV6 0x2 131#define INP_IPV6PROTO 0x4 /* opened under IPv6 protocol */ 132#define INP_TIMEWAIT 0x8 /* .. probably doesn't go here */ 133#define INP_ONESBCAST 0x10 /* send all-ones broadcast */ 134 u_char inp_ip_ttl; /* time to live proto */ 135 u_char inp_ip_p; /* protocol proto */ | 31 */ 32 33#ifndef _NETINET_IN_PCB_H_ 34#define _NETINET_IN_PCB_H_ 35 36#include <sys/queue.h> 37#include <sys/_lock.h> 38#include <sys/_mutex.h> --- 89 unchanged lines hidden (view full) --- 128 u_char inp_vflag; /* IP version flag (v4/v6) */ 129#define INP_IPV4 0x1 130#define INP_IPV6 0x2 131#define INP_IPV6PROTO 0x4 /* opened under IPv6 protocol */ 132#define INP_TIMEWAIT 0x8 /* .. probably doesn't go here */ 133#define INP_ONESBCAST 0x10 /* send all-ones broadcast */ 134 u_char inp_ip_ttl; /* time to live proto */ 135 u_char inp_ip_p; /* protocol proto */ |
136 u_char inp_ip_minttl; /* minimum TTL or drop */ |
|
136 137 /* protocol dependent part; options */ 138 struct { 139 u_char inp4_ip_tos; /* type of service proto */ 140 struct mbuf *inp4_options; /* IP options */ 141 struct ip_moptions *inp4_moptions; /* IP multicast options */ 142 } inp_depend4; 143#define inp_fport inp_inc.inc_fport --- 226 unchanged lines hidden --- | 137 138 /* protocol dependent part; options */ 139 struct { 140 u_char inp4_ip_tos; /* type of service proto */ 141 struct mbuf *inp4_options; /* IP options */ 142 struct ip_moptions *inp4_moptions; /* IP multicast options */ 143 } inp_depend4; 144#define inp_fport inp_inc.inc_fport --- 226 unchanged lines hidden --- |