Deleted Added
full compact
if_var.h (193096) if_var.h (193731)
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

--- 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 * 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

--- 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 * From: @(#)if.h 8.1 (Berkeley) 6/10/93
30 * $FreeBSD: head/sys/net/if_var.h 193096 2009-05-30 15:14:44Z attilio $
30 * $FreeBSD: head/sys/net/if_var.h 193731 2009-06-08 17:15:40Z zec $
31 */
32
33#ifndef _NET_IF_VAR_H_
34#define _NET_IF_VAR_H_
35
36/*
37 * Structures defining a network interface, providing a packet
38 * transport mechanism (ala level 0 of the PUP protocols).

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

66struct thread;
67struct rtentry;
68struct rt_addrinfo;
69struct socket;
70struct ether_header;
71struct carp_if;
72struct ifvlantrunk;
73struct route;
31 */
32
33#ifndef _NET_IF_VAR_H_
34#define _NET_IF_VAR_H_
35
36/*
37 * Structures defining a network interface, providing a packet
38 * transport mechanism (ala level 0 of the PUP protocols).

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

66struct thread;
67struct rtentry;
68struct rt_addrinfo;
69struct socket;
70struct ether_header;
71struct carp_if;
72struct ifvlantrunk;
73struct route;
74struct vnet;
74#endif
75
76#include <sys/queue.h> /* get TAILQ macros */
77
78#ifdef _KERNEL
79#include <sys/mbuf.h>
80#include <sys/eventhandler.h>
81#include <sys/buf_ring.h>

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

164 void (*if_init) /* Init routine */
165 (void *);
166 int (*if_resolvemulti) /* validate/resolve multicast */
167 (struct ifnet *, struct sockaddr **, struct sockaddr *);
168 void (*if_qflush) /* flush any queues */
169 (struct ifnet *);
170 int (*if_transmit) /* initiate output routine */
171 (struct ifnet *, struct mbuf *);
75#endif
76
77#include <sys/queue.h> /* get TAILQ macros */
78
79#ifdef _KERNEL
80#include <sys/mbuf.h>
81#include <sys/eventhandler.h>
82#include <sys/buf_ring.h>

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

165 void (*if_init) /* Init routine */
166 (void *);
167 int (*if_resolvemulti) /* validate/resolve multicast */
168 (struct ifnet *, struct sockaddr **, struct sockaddr *);
169 void (*if_qflush) /* flush any queues */
170 (struct ifnet *);
171 int (*if_transmit) /* initiate output routine */
172 (struct ifnet *, struct mbuf *);
173 void (*if_reassign) /* reassign to vnet routine */
174 (struct ifnet *, struct vnet *, char *);
175 struct vnet *if_home_vnet; /* where this ifnet originates from */
172 struct ifaddr *if_addr; /* pointer to link-level address */
173 void *if_llsoftc; /* link layer softc */
174 int if_drv_flags; /* driver-managed status flags */
175 struct ifaltq if_snd; /* output queue (includes altq) */
176 const u_int8_t *if_broadcastaddr; /* linklevel broadcast bytestring */
177
178 void *if_bridge; /* bridge glue */
179

--- 638 unchanged lines hidden ---
176 struct ifaddr *if_addr; /* pointer to link-level address */
177 void *if_llsoftc; /* link layer softc */
178 int if_drv_flags; /* driver-managed status flags */
179 struct ifaltq if_snd; /* output queue (includes altq) */
180 const u_int8_t *if_broadcastaddr; /* linklevel broadcast bytestring */
181
182 void *if_bridge; /* bridge glue */
183

--- 638 unchanged lines hidden ---