Deleted Added
full compact
in_pcb.h (112985) in_pcb.h (114258)
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 112985 2003-04-02 20:14:44Z mdodd $
34 * $FreeBSD: head/sys/netinet/in_pcb.h 114258 2003-04-29 21:36:18Z mdodd $
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>

--- 228 unchanged lines hidden (view full) ---

271#define INP_RECVDSTADDR 0x04 /* receive IP dst address */
272#define INP_HDRINCL 0x08 /* user supplies entire IP header */
273#define INP_HIGHPORT 0x10 /* user wants "high" port binding */
274#define INP_LOWPORT 0x20 /* user wants "low" port binding */
275#define INP_ANONPORT 0x40 /* port chosen for user */
276#define INP_RECVIF 0x80 /* receive incoming interface */
277#define INP_MTUDISC 0x100 /* user can do MTU discovery */
278#define INP_FAITH 0x200 /* accept FAITH'ed connections */
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>

--- 228 unchanged lines hidden (view full) ---

271#define INP_RECVDSTADDR 0x04 /* receive IP dst address */
272#define INP_HDRINCL 0x08 /* user supplies entire IP header */
273#define INP_HIGHPORT 0x10 /* user wants "high" port binding */
274#define INP_LOWPORT 0x20 /* user wants "low" port binding */
275#define INP_ANONPORT 0x40 /* port chosen for user */
276#define INP_RECVIF 0x80 /* receive incoming interface */
277#define INP_MTUDISC 0x100 /* user can do MTU discovery */
278#define INP_FAITH 0x200 /* accept FAITH'ed connections */
279#define INP_RECVTTL 0x400 /* receive incoming IP TTL */
279
280#define IN6P_IPV6_V6ONLY 0x008000 /* restrict AF_INET6 socket for v6 */
281
282#define IN6P_PKTINFO 0x010000 /* receive IP6 dst and I/F */
283#define IN6P_HOPLIMIT 0x020000 /* receive hoplimit */
284#define IN6P_HOPOPTS 0x040000 /* receive hop-by-hop options */
285#define IN6P_DSTOPTS 0x080000 /* receive dst options after rthdr */
286#define IN6P_RTHDR 0x100000 /* receive routing header */
287#define IN6P_RTHDRDSTOPTS 0x200000 /* receive dstoptions before rthdr */
288#define IN6P_AUTOFLOWLABEL 0x800000 /* attach flowlabel automatically */
289
290#define INP_CONTROLOPTS (INP_RECVOPTS|INP_RECVRETOPTS|INP_RECVDSTADDR|\
280
281#define IN6P_IPV6_V6ONLY 0x008000 /* restrict AF_INET6 socket for v6 */
282
283#define IN6P_PKTINFO 0x010000 /* receive IP6 dst and I/F */
284#define IN6P_HOPLIMIT 0x020000 /* receive hoplimit */
285#define IN6P_HOPOPTS 0x040000 /* receive hop-by-hop options */
286#define IN6P_DSTOPTS 0x080000 /* receive dst options after rthdr */
287#define IN6P_RTHDR 0x100000 /* receive routing header */
288#define IN6P_RTHDRDSTOPTS 0x200000 /* receive dstoptions before rthdr */
289#define IN6P_AUTOFLOWLABEL 0x800000 /* attach flowlabel automatically */
290
291#define INP_CONTROLOPTS (INP_RECVOPTS|INP_RECVRETOPTS|INP_RECVDSTADDR|\
291 INP_RECVIF|\
292 INP_RECVIF|INP_RECVTTL|\
292 IN6P_PKTINFO|IN6P_HOPLIMIT|IN6P_HOPOPTS|\
293 IN6P_DSTOPTS|IN6P_RTHDR|IN6P_RTHDRDSTOPTS|\
294 IN6P_AUTOFLOWLABEL)
295#define INP_UNMAPPABLEOPTS (IN6P_HOPOPTS|IN6P_DSTOPTS|IN6P_RTHDR|\
296 IN6P_AUTOFLOWLABEL)
297
298 /* for KAME src sync over BSD*'s */
299#define IN6P_HIGHPORT INP_HIGHPORT

--- 60 unchanged lines hidden ---
293 IN6P_PKTINFO|IN6P_HOPLIMIT|IN6P_HOPOPTS|\
294 IN6P_DSTOPTS|IN6P_RTHDR|IN6P_RTHDRDSTOPTS|\
295 IN6P_AUTOFLOWLABEL)
296#define INP_UNMAPPABLEOPTS (IN6P_HOPOPTS|IN6P_DSTOPTS|IN6P_RTHDR|\
297 IN6P_AUTOFLOWLABEL)
298
299 /* for KAME src sync over BSD*'s */
300#define IN6P_HIGHPORT INP_HIGHPORT

--- 60 unchanged lines hidden ---