Deleted Added
full compact
if.h (130933) if.h (132712)
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 130933 2004-06-22 20:13:25Z brooks $
30 * $FreeBSD: head/sys/net/if.h 132712 2004-07-27 23:20:45Z rwatson $
31 */
32
33#ifndef _NET_IF_H_
34#define _NET_IF_H_
35
36#include <sys/cdefs.h>
37
38#ifdef _KERNEL

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

121#define IFF_LINK1 0x2000 /* per link layer defined bit */
122#define IFF_LINK2 0x4000 /* per link layer defined bit */
123#define IFF_ALTPHYS IFF_LINK2 /* use alternate physical connection */
124#define IFF_MULTICAST 0x8000 /* supports multicast */
125#define IFF_POLLING 0x10000 /* Interface is in polling mode. */
126#define IFF_PPROMISC 0x20000 /* user-requested promisc mode */
127#define IFF_MONITOR 0x40000 /* user-requested monitor mode */
128#define IFF_STATICARP 0x80000 /* static ARP */
31 */
32
33#ifndef _NET_IF_H_
34#define _NET_IF_H_
35
36#include <sys/cdefs.h>
37
38#ifdef _KERNEL

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

121#define IFF_LINK1 0x2000 /* per link layer defined bit */
122#define IFF_LINK2 0x4000 /* per link layer defined bit */
123#define IFF_ALTPHYS IFF_LINK2 /* use alternate physical connection */
124#define IFF_MULTICAST 0x8000 /* supports multicast */
125#define IFF_POLLING 0x10000 /* Interface is in polling mode. */
126#define IFF_PPROMISC 0x20000 /* user-requested promisc mode */
127#define IFF_MONITOR 0x40000 /* user-requested monitor mode */
128#define IFF_STATICARP 0x80000 /* static ARP */
129#define IFF_NEEDSGIANT 0x100000 /* hold Giant over if_start calls */
129
130/* flags set internally only: */
131#define IFF_CANTCHANGE \
132 (IFF_BROADCAST|IFF_POINTOPOINT|IFF_RUNNING|IFF_OACTIVE|\
133 IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC|\
134 IFF_POLLING)
135
136/*

--- 215 unchanged lines hidden ---
130
131/* flags set internally only: */
132#define IFF_CANTCHANGE \
133 (IFF_BROADCAST|IFF_POINTOPOINT|IFF_RUNNING|IFF_OACTIVE|\
134 IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC|\
135 IFF_POLLING)
136
137/*

--- 215 unchanged lines hidden ---