Deleted Added
full compact
if_var.h (63090) if_var.h (64651)
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 63090 2000-07-13 22:54:34Z archie $
34 * $FreeBSD: head/sys/net/if_var.h 64651 2000-08-15 00:48:38Z 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).

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

335int if_addmulti __P((struct ifnet *, struct sockaddr *,
336 struct ifmultiaddr **));
337int if_allmulti __P((struct ifnet *, int));
338void if_attach __P((struct ifnet *));
339int if_delmulti __P((struct ifnet *, struct sockaddr *));
340void if_detach __P((struct ifnet *));
341void if_down __P((struct ifnet *));
342void if_route __P((struct ifnet *, int flag, int fam));
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).

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

335int if_addmulti __P((struct ifnet *, struct sockaddr *,
336 struct ifmultiaddr **));
337int if_allmulti __P((struct ifnet *, int));
338void if_attach __P((struct ifnet *));
339int if_delmulti __P((struct ifnet *, struct sockaddr *));
340void if_detach __P((struct ifnet *));
341void if_down __P((struct ifnet *));
342void if_route __P((struct ifnet *, int flag, int fam));
343int if_setlladdr __P((struct ifnet *, const u_char *, int));
343void if_unroute __P((struct ifnet *, int flag, int fam));
344void if_up __P((struct ifnet *));
345/*void ifinit __P((void));*/ /* declared in systm.h for main() */
346int ifioctl __P((struct socket *, u_long, caddr_t, struct proc *));
347int ifpromisc __P((struct ifnet *, int));
348struct ifnet *ifunit __P((char *));
349struct ifnet *if_withname __P((struct sockaddr *));
350

--- 23 unchanged lines hidden ---
344void if_unroute __P((struct ifnet *, int flag, int fam));
345void if_up __P((struct ifnet *));
346/*void ifinit __P((void));*/ /* declared in systm.h for main() */
347int ifioctl __P((struct socket *, u_long, caddr_t, struct proc *));
348int ifpromisc __P((struct ifnet *, int));
349struct ifnet *ifunit __P((char *));
350struct ifnet *if_withname __P((struct sockaddr *));
351

--- 23 unchanged lines hidden ---