Deleted Added
full compact
if.h (231505) if.h (236170)
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 231505 2012-02-11 06:02:16Z bz $
30 * $FreeBSD: head/sys/net/if.h 236170 2012-05-28 09:30:13Z bz $
31 */
32
33#ifndef _NET_IF_H_
34#define _NET_IF_H_
35
36#include <sys/cdefs.h>
37
38#ifdef _KERNEL

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

225#define IFCAP_WOL_MAGIC 0x02000 /* wake on any Magic Packet */
226#define IFCAP_TOE4 0x04000 /* interface can offload TCP */
227#define IFCAP_TOE6 0x08000 /* interface can offload TCP6 */
228#define IFCAP_VLAN_HWFILTER 0x10000 /* interface hw can filter vlan tag */
229#define IFCAP_POLLING_NOCOUNT 0x20000 /* polling ticks cannot be fragmented */
230#define IFCAP_VLAN_HWTSO 0x40000 /* can do IFCAP_TSO on VLANs */
231#define IFCAP_LINKSTATE 0x80000 /* the runtime link state is dynamic */
232#define IFCAP_NETMAP 0x100000 /* netmap mode supported/enabled */
31 */
32
33#ifndef _NET_IF_H_
34#define _NET_IF_H_
35
36#include <sys/cdefs.h>
37
38#ifdef _KERNEL

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

225#define IFCAP_WOL_MAGIC 0x02000 /* wake on any Magic Packet */
226#define IFCAP_TOE4 0x04000 /* interface can offload TCP */
227#define IFCAP_TOE6 0x08000 /* interface can offload TCP6 */
228#define IFCAP_VLAN_HWFILTER 0x10000 /* interface hw can filter vlan tag */
229#define IFCAP_POLLING_NOCOUNT 0x20000 /* polling ticks cannot be fragmented */
230#define IFCAP_VLAN_HWTSO 0x40000 /* can do IFCAP_TSO on VLANs */
231#define IFCAP_LINKSTATE 0x80000 /* the runtime link state is dynamic */
232#define IFCAP_NETMAP 0x100000 /* netmap mode supported/enabled */
233#define IFCAP_RXCSUM_IPV6 0x200000 /* can offload checksum on IPv6 RX */
234#define IFCAP_TXCSUM_IPV6 0x400000 /* can offload checksum on IPv6 TX */
233
235
236#define IFCAP_HWCSUM_IPV6 (IFCAP_RXCSUM_IPV6 | IFCAP_TXCSUM_IPV6)
237
234#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)
235#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6)
236#define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC)
237#define IFCAP_TOE (IFCAP_TOE4 | IFCAP_TOE6)
238
239#define IFCAP_CANTCHANGE (IFCAP_NETMAP)
240
241#define IFQ_MAXLEN 50

--- 301 unchanged lines hidden ---
238#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)
239#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6)
240#define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC)
241#define IFCAP_TOE (IFCAP_TOE4 | IFCAP_TOE6)
242
243#define IFCAP_CANTCHANGE (IFCAP_NETMAP)
244
245#define IFQ_MAXLEN 50

--- 301 unchanged lines hidden ---