Deleted Added
full compact
ifq.h (69152) ifq.h (69224)
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
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 69152 2000-11-25 07:35:38Z jlemon $
34 * $FreeBSD: head/sys/net/if_var.h 69224 2000-11-26 21:47:01Z jlemon $
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).

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

70struct proc;
71struct rtentry;
72struct socket;
73struct ether_header;
74#endif
75
76#include <sys/queue.h> /* get TAILQ macros */
77
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).

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

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

--- 337 unchanged lines hidden ---
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);
86LIST_HEAD(ifmultihead, ifmultiaddr);
87
88/*
89 * Structure defining a queue for a network interface.

--- 337 unchanged lines hidden ---