if.h (174625) | if.h (174628) |
---|---|
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 174625 2007-12-15 21:01:48Z kmacy $ | 30 * $FreeBSD: head/sys/net/if.h 174628 2007-12-15 22:06:23Z kmacy $ |
31 */ 32 33#ifndef _NET_IF_H_ 34#define _NET_IF_H_ 35 36#include <sys/cdefs.h> 37 38#ifdef _KERNEL --- 174 unchanged lines hidden (view full) --- 213#define IFCAP_WOL_MCAST 0x1000 /* wake on any multicast frame */ 214#define IFCAP_WOL_MAGIC 0x2000 /* wake on any Magic Packet */ 215#define IFCAP_TOE4 0x4000 /* interface can offload TCP */ 216#define IFCAP_TOE6 0x8000 /* interface can offload TCP6 */ 217 218#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM) 219#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6) 220#define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC) | 31 */ 32 33#ifndef _NET_IF_H_ 34#define _NET_IF_H_ 35 36#include <sys/cdefs.h> 37 38#ifdef _KERNEL --- 174 unchanged lines hidden (view full) --- 213#define IFCAP_WOL_MCAST 0x1000 /* wake on any multicast frame */ 214#define IFCAP_WOL_MAGIC 0x2000 /* wake on any Magic Packet */ 215#define IFCAP_TOE4 0x4000 /* interface can offload TCP */ 216#define IFCAP_TOE6 0x8000 /* interface can offload TCP6 */ 217 218#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM) 219#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6) 220#define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC) |
221#define IFCAP_TSO (IFCAP_TOE4 | IFCAP_TOE6) | 221#define IFCAP_TOE (IFCAP_TOE4 | IFCAP_TOE6) |
222 223#define IFQ_MAXLEN 50 224#define IFNET_SLOWHZ 1 /* granularity is 1 second */ 225 226/* 227 * Message format for use in obtaining information about interfaces 228 * from getkerninfo and the routing socket 229 */ --- 230 unchanged lines hidden --- | 222 223#define IFQ_MAXLEN 50 224#define IFNET_SLOWHZ 1 /* granularity is 1 second */ 225 226/* 227 * Message format for use in obtaining information about interfaces 228 * from getkerninfo and the routing socket 229 */ --- 230 unchanged lines hidden --- |