in.h (60105) | in.h (62587) |
---|---|
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.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 --- 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.h 8.3 (Berkeley) 1/3/94 |
34 * $FreeBSD: head/sys/netinet/in.h 60105 2000-05-06 18:19:58Z jlemon $ | 34 * $FreeBSD: head/sys/netinet/in.h 62587 2000-07-04 16:35:15Z itojun $ |
35 */ 36 37#ifndef _NETINET_IN_H_ 38#define _NETINET_IN_H_ 39 40/* 41 * Constants and structures defined by the internet system, 42 * Per RFC 790, September 1981, and numerous additions. --- 324 unchanged lines hidden (view full) --- 367#define IP_PORTRANGE_LOW 2 /* "low" - vouchsafe security */ 368 369/* 370 * Definitions for inet sysctl operations. 371 * 372 * Third level is protocol number. 373 * Fourth level is desired variable within that protocol. 374 */ | 35 */ 36 37#ifndef _NETINET_IN_H_ 38#define _NETINET_IN_H_ 39 40/* 41 * Constants and structures defined by the internet system, 42 * Per RFC 790, September 1981, and numerous additions. --- 324 unchanged lines hidden (view full) --- 367#define IP_PORTRANGE_LOW 2 /* "low" - vouchsafe security */ 368 369/* 370 * Definitions for inet sysctl operations. 371 * 372 * Third level is protocol number. 373 * Fourth level is desired variable within that protocol. 374 */ |
375#define IPPROTO_MAXID (IPPROTO_ESP + 1) /* don't list to IPPROTO_MAX */ | 375#define IPPROTO_MAXID (IPPROTO_AH + 1) /* don't list to IPPROTO_MAX */ |
376 377#define CTL_IPPROTO_NAMES { \ 378 { "ip", CTLTYPE_NODE }, \ 379 { "icmp", CTLTYPE_NODE }, \ 380 { "igmp", CTLTYPE_NODE }, \ 381 { "ggp", CTLTYPE_NODE }, \ 382 { 0, 0 }, \ 383 { 0, 0 }, \ --- 9 unchanged lines hidden (view full) --- 393 { 0, 0 }, \ 394 { 0, 0 }, \ 395 { "udp", CTLTYPE_NODE }, \ 396 { 0, 0 }, \ 397 { 0, 0 }, \ 398 { 0, 0 }, \ 399 { 0, 0 }, \ 400 { "idp", CTLTYPE_NODE }, \ | 376 377#define CTL_IPPROTO_NAMES { \ 378 { "ip", CTLTYPE_NODE }, \ 379 { "icmp", CTLTYPE_NODE }, \ 380 { "igmp", CTLTYPE_NODE }, \ 381 { "ggp", CTLTYPE_NODE }, \ 382 { 0, 0 }, \ 383 { 0, 0 }, \ --- 9 unchanged lines hidden (view full) --- 393 { 0, 0 }, \ 394 { 0, 0 }, \ 395 { "udp", CTLTYPE_NODE }, \ 396 { 0, 0 }, \ 397 { 0, 0 }, \ 398 { 0, 0 }, \ 399 { 0, 0 }, \ 400 { "idp", CTLTYPE_NODE }, \ |
401 { 0, 0 }, \ 402 { 0, 0 }, \ 403 { 0, 0 }, \ 404 { 0, 0 }, \ 405 { 0, 0 }, \ 406 { 0, 0 }, \ 407 { 0, 0 }, \ 408 { 0, 0 }, \ 409 { 0, 0 }, \ 410 { 0, 0 }, \ 411 { 0, 0 }, \ 412 { 0, 0 }, \ 413 { 0, 0 }, \ 414 { 0, 0 }, \ 415 { 0, 0 }, \ 416 { 0, 0 }, \ 417 { 0, 0 }, \ 418 { 0, 0 }, \ 419 { 0, 0 }, \ 420 { 0, 0 }, \ 421 { 0, 0 }, \ 422 { 0, 0 }, \ 423 { 0, 0 }, \ 424 { 0, 0 }, \ 425 { 0, 0 }, \ 426 { 0, 0 }, \ 427 { 0, 0 }, \ 428 { 0, 0 }, \ 429 { "ipsec", CTLTYPE_NODE }, \ |
|
401} 402 403/* 404 * Names for IP sysctl objects 405 */ 406#define IPCTL_FORWARDING 1 /* act as router */ 407#define IPCTL_SENDREDIRECTS 2 /* may send redirects when forwarding */ 408#define IPCTL_DEFTTL 3 /* default TTL */ --- 55 unchanged lines hidden --- | 430} 431 432/* 433 * Names for IP sysctl objects 434 */ 435#define IPCTL_FORWARDING 1 /* act as router */ 436#define IPCTL_SENDREDIRECTS 2 /* may send redirects when forwarding */ 437#define IPCTL_DEFTTL 3 /* default TTL */ --- 55 unchanged lines hidden --- |