Deleted Added
sdiff udiff text old ( 153553 ) new ( 158563 )
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

--- 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 153553 2005-12-20 09:38:03Z delphij $
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>

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

419#define IP_MINTTL 66 /* minimum TTL for packet or drop */
420#define IP_DONTFRAG 67 /* don't fragment packet */
421
422/*
423 * Defaults and limits for options
424 */
425#define IP_DEFAULT_MULTICAST_TTL 1 /* normally limit m'casts to 1 hop */
426#define IP_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */
427#define IP_MAX_MEMBERSHIPS 20 /* per socket */
428
429/*
430 * Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
431 */
432struct ip_mreq {
433 struct in_addr imr_multiaddr; /* IP multicast address of group */
434 struct in_addr imr_interface; /* local IP address of interface */
435};
436
437/*

--- 158 unchanged lines hidden ---