Deleted Added
sdiff udiff text old ( 72200 ) new ( 74914 )
full compact
1/*
2 * Copyright (c) 1982, 1986, 1989, 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 * From: @(#)if.h 8.1 (Berkeley) 6/10/93
34 * $FreeBSD: head/sys/net/if_var.h 72200 2001-02-09 06:11:45Z bmilekic $
35 */
36
37#ifndef _NET_IF_VAR_H_
38#define _NET_IF_VAR_H_
39
40/*
41 * Structures defining a network interface, providing a packet
42 * transport mechanism (ala level 0 of the PUP protocols).

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

72struct socket;
73struct ether_header;
74#endif
75
76#include <sys/queue.h> /* get TAILQ macros */
77
78#ifdef _KERNEL
79#include <sys/mbuf.h>
80#endif /* _KERNEL */
81#include <sys/mutex.h>
82
83TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
84TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
85TAILQ_HEAD(ifprefixhead, ifprefix);
86TAILQ_HEAD(ifmultihead, ifmultiaddr);
87
88/*
89 * Structure defining a queue for a network interface.

--- 337 unchanged lines hidden ---