Deleted Added
full compact
if.h (214136) if.h (216267)
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 * @(#)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 * @(#)if.h 8.1 (Berkeley) 6/10/93
30 * $FreeBSD: head/sys/net/if.h 214136 2010-10-21 16:20:48Z pluknet $
30 * $FreeBSD: head/sys/net/if.h 216267 2010-12-07 20:23:47Z weongyo $
31 */
32
33#ifndef _NET_IF_H_
34#define _NET_IF_H_
35
36#include <sys/cdefs.h>
37
38#ifdef _KERNEL

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

140#define IFF_ALLMULTI 0x200 /* (n) receive all multicast packets */
141#define IFF_DRV_OACTIVE 0x400 /* (d) tx hardware queue is full */
142#define IFF_SIMPLEX 0x800 /* (i) can't hear own transmissions */
143#define IFF_LINK0 0x1000 /* per link layer defined bit */
144#define IFF_LINK1 0x2000 /* per link layer defined bit */
145#define IFF_LINK2 0x4000 /* per link layer defined bit */
146#define IFF_ALTPHYS IFF_LINK2 /* use alternate physical connection */
147#define IFF_MULTICAST 0x8000 /* (i) supports multicast */
31 */
32
33#ifndef _NET_IF_H_
34#define _NET_IF_H_
35
36#include <sys/cdefs.h>
37
38#ifdef _KERNEL

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

140#define IFF_ALLMULTI 0x200 /* (n) receive all multicast packets */
141#define IFF_DRV_OACTIVE 0x400 /* (d) tx hardware queue is full */
142#define IFF_SIMPLEX 0x800 /* (i) can't hear own transmissions */
143#define IFF_LINK0 0x1000 /* per link layer defined bit */
144#define IFF_LINK1 0x2000 /* per link layer defined bit */
145#define IFF_LINK2 0x4000 /* per link layer defined bit */
146#define IFF_ALTPHYS IFF_LINK2 /* use alternate physical connection */
147#define IFF_MULTICAST 0x8000 /* (i) supports multicast */
148/* 0x10000 */
148#define IFF_CANTCONFIG 0x10000 /* (i) unconfigurable using ioctl(2) */
149#define IFF_PPROMISC 0x20000 /* (n) user-requested promisc mode */
150#define IFF_MONITOR 0x40000 /* (n) user-requested monitor mode */
151#define IFF_STATICARP 0x80000 /* (n) static ARP */
152#define IFF_DYING 0x200000 /* (n) interface is winding down */
153#define IFF_RENAMING 0x400000 /* (n) interface is being renamed */
154
155/*
156 * Old names for driver flags so that user space tools can continue to use

--- 309 unchanged lines hidden ---
149#define IFF_PPROMISC 0x20000 /* (n) user-requested promisc mode */
150#define IFF_MONITOR 0x40000 /* (n) user-requested monitor mode */
151#define IFF_STATICARP 0x80000 /* (n) static ARP */
152#define IFF_DYING 0x200000 /* (n) interface is winding down */
153#define IFF_RENAMING 0x400000 /* (n) interface is being renamed */
154
155/*
156 * Old names for driver flags so that user space tools can continue to use

--- 309 unchanged lines hidden ---