Deleted Added
full compact
if_var.h (62264) if_var.h (63090)
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 62264 2000-06-29 19:14:28Z archie $
34 * $FreeBSD: head/sys/net/if_var.h 63090 2000-07-13 22:54:34Z archie $
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).

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

318
319extern struct ifnethead ifnet;
320extern struct ifnet **ifindex2ifnet;
321extern int ifqmaxlen;
322extern struct ifnet loif[];
323extern int if_index;
324extern struct ifaddr **ifnet_addrs;
325
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).

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

318
319extern struct ifnethead ifnet;
320extern struct ifnet **ifindex2ifnet;
321extern int ifqmaxlen;
322extern struct ifnet loif[];
323extern int if_index;
324extern struct ifaddr **ifnet_addrs;
325
326void ether_ifattach __P((struct ifnet *));
326void ether_ifattach __P((struct ifnet *, int));
327void ether_ifdetach __P((struct ifnet *, int));
327void ether_input __P((struct ifnet *, struct ether_header *, struct mbuf *));
328void ether_demux __P((struct ifnet *, struct ether_header *, struct mbuf *));
329int ether_output __P((struct ifnet *,
330 struct mbuf *, struct sockaddr *, struct rtentry *));
331int ether_output_frame __P((struct ifnet *, struct mbuf *));
332int ether_ioctl __P((struct ifnet *, int, caddr_t));
333
334int if_addmulti __P((struct ifnet *, struct sockaddr *,

--- 38 unchanged lines hidden ---
328void ether_input __P((struct ifnet *, struct ether_header *, struct mbuf *));
329void ether_demux __P((struct ifnet *, struct ether_header *, struct mbuf *));
330int ether_output __P((struct ifnet *,
331 struct mbuf *, struct sockaddr *, struct rtentry *));
332int ether_output_frame __P((struct ifnet *, struct mbuf *));
333int ether_ioctl __P((struct ifnet *, int, caddr_t));
334
335int if_addmulti __P((struct ifnet *, struct sockaddr *,

--- 38 unchanged lines hidden ---