Deleted Added
full compact
ip.h (1817) ip.h (2169)
1/*
2 * Copyright (c) 1982, 1986, 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 * @(#)ip.h 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1982, 1986, 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 * @(#)ip.h 8.1 (Berkeley) 6/10/93
34 * $Id$
34 * $Id: ip.h,v 1.2 1994/08/02 07:48:30 davidg Exp $
35 */
36
35 */
36
37#ifndef _NETINET_IP_H_
38#define _NETINET_IP_H_
39
37/*
38 * Definitions for internet protocol version 4.
39 * Per RFC 791, September 1981.
40 */
41#define IPVERSION 4
42
43/*
44 * Structure of an internet header, naked of options.

--- 117 unchanged lines hidden (view full) ---

162 * Internet implementation parameters.
163 */
164#define MAXTTL 255 /* maximum time to live (seconds) */
165#define IPDEFTTL 64 /* default ttl, from RFC 1340 */
166#define IPFRAGTTL 60 /* time to live for frags, slowhz */
167#define IPTTLDEC 1 /* subtracted when forwarding */
168
169#define IP_MSS 576 /* default maximum segment size */
40/*
41 * Definitions for internet protocol version 4.
42 * Per RFC 791, September 1981.
43 */
44#define IPVERSION 4
45
46/*
47 * Structure of an internet header, naked of options.

--- 117 unchanged lines hidden (view full) ---

165 * Internet implementation parameters.
166 */
167#define MAXTTL 255 /* maximum time to live (seconds) */
168#define IPDEFTTL 64 /* default ttl, from RFC 1340 */
169#define IPFRAGTTL 60 /* time to live for frags, slowhz */
170#define IPTTLDEC 1 /* subtracted when forwarding */
171
172#define IP_MSS 576 /* default maximum segment size */
173
174#endif