Deleted Added
full compact
if_var.h (191148) if_var.h (191161)
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 191148 2009-04-16 20:30:28Z kmacy $
30 * $FreeBSD: head/sys/net/if_var.h 191161 2009-04-16 23:05:10Z kmacy $
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).

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

752void if_down(struct ifnet *);
753struct ifmultiaddr *
754 if_findmulti(struct ifnet *, struct sockaddr *);
755void if_free(struct ifnet *);
756void if_free_type(struct ifnet *, u_char);
757void if_initname(struct ifnet *, const char *, int);
758void if_link_state_change(struct ifnet *, int);
759int if_printf(struct ifnet *, const char *, ...) __printflike(2, 3);
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).

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

752void if_down(struct ifnet *);
753struct ifmultiaddr *
754 if_findmulti(struct ifnet *, struct sockaddr *);
755void if_free(struct ifnet *);
756void if_free_type(struct ifnet *, u_char);
757void if_initname(struct ifnet *, const char *, int);
758void if_link_state_change(struct ifnet *, int);
759int if_printf(struct ifnet *, const char *, ...) __printflike(2, 3);
760void if_qflush(struct ifnet *);
760int if_setlladdr(struct ifnet *, const u_char *, int);
761void if_up(struct ifnet *);
762/*void ifinit(void);*/ /* declared in systm.h for main() */
763int ifioctl(struct socket *, u_long, caddr_t, struct thread *);
764int ifpromisc(struct ifnet *, int);
765struct ifnet *ifunit(const char *);
766
767void ifq_attach(struct ifaltq *, struct ifnet *ifp);

--- 32 unchanged lines hidden ---
761int if_setlladdr(struct ifnet *, const u_char *, int);
762void if_up(struct ifnet *);
763/*void ifinit(void);*/ /* declared in systm.h for main() */
764int ifioctl(struct socket *, u_long, caddr_t, struct thread *);
765int ifpromisc(struct ifnet *, int);
766struct ifnet *ifunit(const char *);
767
768void ifq_attach(struct ifaltq *, struct ifnet *ifp);

--- 32 unchanged lines hidden ---