Deleted Added
sdiff udiff text old ( 60105 ) new ( 62587 )
full compact
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 $
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 */
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}
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 ---