in.h (128019) | in.h (130281) |
---|---|
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 128019 2004-04-07 20:46:16Z imp $ | 30 * $FreeBSD: head/sys/netinet/in.h 130281 2004-06-09 20:10:38Z ru $ |
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> --- 342 unchanged lines hidden (view full) --- 381#define IP_PORTRANGE 19 /* int; range to choose for unspec port */ 382#define IP_RECVIF 20 /* bool; receive reception if w/dgram */ 383/* for IPSEC */ 384#define IP_IPSEC_POLICY 21 /* int; set/get security policy */ 385#define IP_FAITH 22 /* bool; accept FAITH'ed connections */ 386 387#define IP_ONESBCAST 23 /* bool: send all-ones broadcast */ 388 | 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> --- 342 unchanged lines hidden (view full) --- 381#define IP_PORTRANGE 19 /* int; range to choose for unspec port */ 382#define IP_RECVIF 20 /* bool; receive reception if w/dgram */ 383/* for IPSEC */ 384#define IP_IPSEC_POLICY 21 /* int; set/get security policy */ 385#define IP_FAITH 22 /* bool; accept FAITH'ed connections */ 386 387#define IP_ONESBCAST 23 /* bool: send all-ones broadcast */ 388 |
389#define IP_FW_TABLE_ADD 40 /* add entry */ 390#define IP_FW_TABLE_DEL 41 /* delete entry */ 391#define IP_FW_TABLE_FLUSH 42 /* flush table */ 392#define IP_FW_TABLE_GETSIZE 43 /* get table size */ 393#define IP_FW_TABLE_LIST 44 /* list table contents */ 394 |
|
389#define IP_FW_ADD 50 /* add a firewall rule to chain */ 390#define IP_FW_DEL 51 /* delete a firewall rule from chain */ 391#define IP_FW_FLUSH 52 /* flush firewall rule chain */ 392#define IP_FW_ZERO 53 /* clear single/all firewall counter(s) */ 393#define IP_FW_GET 54 /* get entire firewall rule chain */ 394#define IP_FW_RESETLOG 55 /* reset logging counters */ 395 396#define IP_DUMMYNET_CONFIGURE 60 /* add/configure a dummynet pipe */ --- 178 unchanged lines hidden --- | 395#define IP_FW_ADD 50 /* add a firewall rule to chain */ 396#define IP_FW_DEL 51 /* delete a firewall rule from chain */ 397#define IP_FW_FLUSH 52 /* flush firewall rule chain */ 398#define IP_FW_ZERO 53 /* clear single/all firewall counter(s) */ 399#define IP_FW_GET 54 /* get entire firewall rule chain */ 400#define IP_FW_RESETLOG 55 /* reset logging counters */ 401 402#define IP_DUMMYNET_CONFIGURE 60 /* add/configure a dummynet pipe */ --- 178 unchanged lines hidden --- |