Deleted Added
full compact
if.h (150789) if.h (155051)
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 150789 2005-10-01 18:56:19Z glebius $
30 * $FreeBSD: head/sys/net/if.h 155051 2006-01-30 13:45:15Z glebius $
31 */
32
33#ifndef _NET_IF_H_
34#define _NET_IF_H_
35
36#include <sys/cdefs.h>
37
38#ifdef _KERNEL

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

186/* Capabilities that interfaces can advertise. */
187#define IFCAP_RXCSUM 0x0001 /* can offload checksum on RX */
188#define IFCAP_TXCSUM 0x0002 /* can offload checksum on TX */
189#define IFCAP_NETCONS 0x0004 /* can be a network console */
190#define IFCAP_VLAN_MTU 0x0008 /* VLAN-compatible MTU */
191#define IFCAP_VLAN_HWTAGGING 0x0010 /* hardware VLAN tag support */
192#define IFCAP_JUMBO_MTU 0x0020 /* 9000 byte MTU supported */
193#define IFCAP_POLLING 0x0040 /* driver supports polling */
31 */
32
33#ifndef _NET_IF_H_
34#define _NET_IF_H_
35
36#include <sys/cdefs.h>
37
38#ifdef _KERNEL

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

186/* Capabilities that interfaces can advertise. */
187#define IFCAP_RXCSUM 0x0001 /* can offload checksum on RX */
188#define IFCAP_TXCSUM 0x0002 /* can offload checksum on TX */
189#define IFCAP_NETCONS 0x0004 /* can be a network console */
190#define IFCAP_VLAN_MTU 0x0008 /* VLAN-compatible MTU */
191#define IFCAP_VLAN_HWTAGGING 0x0010 /* hardware VLAN tag support */
192#define IFCAP_JUMBO_MTU 0x0020 /* 9000 byte MTU supported */
193#define IFCAP_POLLING 0x0040 /* driver supports polling */
194#define IFCAP_VLAN_HWCSUM 0x0080 /* can do IFCAP_HWCSUM on VLANs */
194
195#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)
196
197#define IFQ_MAXLEN 50
198#define IFNET_SLOWHZ 1 /* granularity is 1 second */
199
200/*
201 * Message format for use in obtaining information about interfaces

--- 192 unchanged lines hidden ---
195
196#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)
197
198#define IFQ_MAXLEN 50
199#define IFNET_SLOWHZ 1 /* granularity is 1 second */
200
201/*
202 * Message format for use in obtaining information about interfaces

--- 192 unchanged lines hidden ---