Deleted Added
full compact
if_var.h (74914) if_var.h (79103)
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 74914 2001-03-28 09:17:56Z jhb $
34 * $FreeBSD: head/sys/net/if_var.h 79103 2001-07-02 20:49:25Z brooks $
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).

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

396void if_down __P((struct ifnet *));
397void if_route __P((struct ifnet *, int flag, int fam));
398int if_setlladdr __P((struct ifnet *, const u_char *, int));
399void if_unroute __P((struct ifnet *, int flag, int fam));
400void if_up __P((struct ifnet *));
401/*void ifinit __P((void));*/ /* declared in systm.h for main() */
402int ifioctl __P((struct socket *, u_long, caddr_t, struct proc *));
403int ifpromisc __P((struct ifnet *, int));
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).

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

396void if_down __P((struct ifnet *));
397void if_route __P((struct ifnet *, int flag, int fam));
398int if_setlladdr __P((struct ifnet *, const u_char *, int));
399void if_unroute __P((struct ifnet *, int flag, int fam));
400void if_up __P((struct ifnet *));
401/*void ifinit __P((void));*/ /* declared in systm.h for main() */
402int ifioctl __P((struct socket *, u_long, caddr_t, struct proc *));
403int ifpromisc __P((struct ifnet *, int));
404struct ifnet *ifunit __P((char *));
404struct ifnet *ifunit __P((const char *));
405struct ifnet *if_withname __P((struct sockaddr *));
406
407int if_poll_recv_slow __P((struct ifnet *ifp, int *quotap));
408void if_poll_xmit_slow __P((struct ifnet *ifp, int *quotap));
409void if_poll_throttle __P((void));
410void if_poll_unthrottle __P((void *));
411void if_poll_init __P((void));
412void if_poll __P((void));

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

418 struct sockaddr *));
419struct ifaddr *ifaof_ifpforaddr __P((struct sockaddr *, struct ifnet *));
420void ifafree __P((struct ifaddr *));
421
422struct ifmultiaddr *ifmaof_ifpforaddr __P((struct sockaddr *,
423 struct ifnet *));
424int if_simloop __P((struct ifnet *ifp, struct mbuf *m, int af, int hlen));
425
405struct ifnet *if_withname __P((struct sockaddr *));
406
407int if_poll_recv_slow __P((struct ifnet *ifp, int *quotap));
408void if_poll_xmit_slow __P((struct ifnet *ifp, int *quotap));
409void if_poll_throttle __P((void));
410void if_poll_unthrottle __P((void *));
411void if_poll_init __P((void));
412void if_poll __P((void));

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

418 struct sockaddr *));
419struct ifaddr *ifaof_ifpforaddr __P((struct sockaddr *, struct ifnet *));
420void ifafree __P((struct ifaddr *));
421
422struct ifmultiaddr *ifmaof_ifpforaddr __P((struct sockaddr *,
423 struct ifnet *));
424int if_simloop __P((struct ifnet *ifp, struct mbuf *m, int af, int hlen));
425
426void if_clone_attach __P((struct if_clone *));
427void if_clone_detach __P((struct if_clone *));
428
429int if_clone_create __P((char *, int));
430int if_clone_destroy __P((const char *));
431
426#endif /* _KERNEL */
427
428#endif /* !_NET_IF_VAR_H_ */
432#endif /* _KERNEL */
433
434#endif /* !_NET_IF_VAR_H_ */