in.h (133874) | in.h (136712) |
---|---|
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.h 8.3 (Berkeley) 1/3/94 | 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.h 8.3 (Berkeley) 1/3/94 |
30 * $FreeBSD: head/sys/netinet/in.h 133874 2004-08-16 18:32:07Z rwatson $ | 30 * $FreeBSD: head/sys/netinet/in.h 136712 2004-10-19 20:59:01Z andre $ |
31 */ 32 33#ifndef _NETINET_IN_H_ 34#define _NETINET_IN_H_ 35 36#include <sys/cdefs.h> 37#include <sys/_types.h> 38#include <machine/endian.h> --- 200 unchanged lines hidden (view full) --- 239 240/* last return value of *_input(), meaning "all job for this pkt is done". */ 241#define IPPROTO_DONE 257 242 243/* Only used internally, so can be outside the range of valid IP protocols. */ 244#define IPPROTO_DIVERT 258 /* divert pseudo-protocol */ 245 246/* | 31 */ 32 33#ifndef _NETINET_IN_H_ 34#define _NETINET_IN_H_ 35 36#include <sys/cdefs.h> 37#include <sys/_types.h> 38#include <machine/endian.h> --- 200 unchanged lines hidden (view full) --- 239 240/* last return value of *_input(), meaning "all job for this pkt is done". */ 241#define IPPROTO_DONE 257 242 243/* Only used internally, so can be outside the range of valid IP protocols. */ 244#define IPPROTO_DIVERT 258 /* divert pseudo-protocol */ 245 246/* |
247 * Defined to avoid confusion. The master value is defined by 248 * PROTO_SPACER in sys/protosw.h. 249 */ 250#define IPPROTO_SPACER 32767 /* spacer for loadable protos */ 251 252/* |
|
247 * Local port number conventions: 248 * 249 * When a user does a bind(2) or connect(2) with a port number of zero, 250 * a non-conflicting local port address is chosen. 251 * The default range is IPPORT_HIFIRSTAUTO through 252 * IPPORT_HILASTAUTO, although that is settable by sysctl. 253 * 254 * A user may set the IPPROTO_IP option IP_PORTRANGE to change this --- 329 unchanged lines hidden --- | 253 * Local port number conventions: 254 * 255 * When a user does a bind(2) or connect(2) with a port number of zero, 256 * a non-conflicting local port address is chosen. 257 * The default range is IPPORT_HIFIRSTAUTO through 258 * IPPORT_HILASTAUTO, although that is settable by sysctl. 259 * 260 * A user may set the IPPROTO_IP option IP_PORTRANGE to change this --- 329 unchanged lines hidden --- |