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 55009 1999-12-22 19:13:38Z shin $ |
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. --- 371 unchanged lines hidden (view full) --- 414#define IPCTL_RTMAXCACHE 7 /* trigger level for dynamic expire */ 415#define IPCTL_SOURCEROUTE 8 /* may perform source routes */ 416#define IPCTL_DIRECTEDBROADCAST 9 /* may re-broadcast received packets */ 417#define IPCTL_INTRQMAXLEN 10 /* max length of netisr queue */ 418#define IPCTL_INTRQDROPS 11 /* number of netisr q drops */ 419#define IPCTL_STATS 12 /* ipstat structure */ 420#define IPCTL_ACCEPTSOURCEROUTE 13 /* may accept source routed packets */ 421#define IPCTL_FASTFORWARDING 14 /* use fast IP forwarding code */ |
422#define IPCTL_KEEPFAITH 15 /* FAITH IPv4->IPv6 translater ctl */ |
423#define IPCTL_GIF_TTL 16 /* default TTL for gif encap packet */ 424#define IPCTL_MAXID 17 425 426#define IPCTL_NAMES { \ 427 { 0, 0 }, \ 428 { "forwarding", CTLTYPE_INT }, \ 429 { "redirect", CTLTYPE_INT }, \ 430 { "ttl", CTLTYPE_INT }, \ --- 32 unchanged lines hidden --- |