Deleted Added
full compact
if_var.h (41879) if_var.h (45720)
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 * $Id: if_var.h,v 1.9 1998/06/12 03:48:09 julian Exp $
34 * $Id: if_var.h,v 1.10 1998/12/16 18:30:43 phk Exp $
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).

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

294 struct mbuf *, struct sockaddr *, struct rtentry *));
295int ether_ioctl __P((struct ifnet *, int, caddr_t));
296
297int if_addmulti __P((struct ifnet *, struct sockaddr *,
298 struct ifmultiaddr **));
299int if_allmulti __P((struct ifnet *, int));
300void if_attach __P((struct ifnet *));
301int if_delmulti __P((struct ifnet *, struct sockaddr *));
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).

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

294 struct mbuf *, struct sockaddr *, struct rtentry *));
295int ether_ioctl __P((struct ifnet *, int, caddr_t));
296
297int if_addmulti __P((struct ifnet *, struct sockaddr *,
298 struct ifmultiaddr **));
299int if_allmulti __P((struct ifnet *, int));
300void if_attach __P((struct ifnet *));
301int if_delmulti __P((struct ifnet *, struct sockaddr *));
302void if_detach __P((struct ifnet *));
302void if_down __P((struct ifnet *));
303void if_route __P((struct ifnet *, int flag, int fam));
304void if_unroute __P((struct ifnet *, int flag, int fam));
305void if_up __P((struct ifnet *));
306/*void ifinit __P((void));*/ /* declared in systm.h for main() */
307int ifioctl __P((struct socket *, u_long, caddr_t, struct proc *));
308int ifpromisc __P((struct ifnet *, int));
309struct ifnet *ifunit __P((char *));

--- 25 unchanged lines hidden ---
303void if_down __P((struct ifnet *));
304void if_route __P((struct ifnet *, int flag, int fam));
305void if_unroute __P((struct ifnet *, int flag, int fam));
306void if_up __P((struct ifnet *));
307/*void ifinit __P((void));*/ /* declared in systm.h for main() */
308int ifioctl __P((struct socket *, u_long, caddr_t, struct proc *));
309int ifpromisc __P((struct ifnet *, int));
310struct ifnet *ifunit __P((char *));

--- 25 unchanged lines hidden ---