if.h (2ccbbd06d2351d1e2ce64d997624a8e988f40e2a) | if.h (f3e7afe2d7b262ab55ab818445d4dfdb6e0c70a9) |
---|---|
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 --- 225 unchanged lines hidden (view full) --- 234#define IFCAP_VLAN_HWFILTER 0x10000 /* interface hw can filter vlan tag */ 235#define IFCAP_POLLING_NOCOUNT 0x20000 /* polling ticks cannot be fragmented */ 236#define IFCAP_VLAN_HWTSO 0x40000 /* can do IFCAP_TSO on VLANs */ 237#define IFCAP_LINKSTATE 0x80000 /* the runtime link state is dynamic */ 238#define IFCAP_NETMAP 0x100000 /* netmap mode supported/enabled */ 239#define IFCAP_RXCSUM_IPV6 0x200000 /* can offload checksum on IPv6 RX */ 240#define IFCAP_TXCSUM_IPV6 0x400000 /* can offload checksum on IPv6 TX */ 241#define IFCAP_HWSTATS 0x800000 /* manages counters internally */ | 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 --- 225 unchanged lines hidden (view full) --- 234#define IFCAP_VLAN_HWFILTER 0x10000 /* interface hw can filter vlan tag */ 235#define IFCAP_POLLING_NOCOUNT 0x20000 /* polling ticks cannot be fragmented */ 236#define IFCAP_VLAN_HWTSO 0x40000 /* can do IFCAP_TSO on VLANs */ 237#define IFCAP_LINKSTATE 0x80000 /* the runtime link state is dynamic */ 238#define IFCAP_NETMAP 0x100000 /* netmap mode supported/enabled */ 239#define IFCAP_RXCSUM_IPV6 0x200000 /* can offload checksum on IPv6 RX */ 240#define IFCAP_TXCSUM_IPV6 0x400000 /* can offload checksum on IPv6 TX */ 241#define IFCAP_HWSTATS 0x800000 /* manages counters internally */ |
242#define IFCAP_TXRTLMT 0x1000000 /* hardware supports TX rate limiting */ |
|
242 243#define IFCAP_HWCSUM_IPV6 (IFCAP_RXCSUM_IPV6 | IFCAP_TXCSUM_IPV6) 244 245#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM) 246#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6) 247#define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC) 248#define IFCAP_TOE (IFCAP_TOE4 | IFCAP_TOE6) 249 --- 301 unchanged lines hidden --- | 243 244#define IFCAP_HWCSUM_IPV6 (IFCAP_RXCSUM_IPV6 | IFCAP_TXCSUM_IPV6) 245 246#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM) 247#define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6) 248#define IFCAP_WOL (IFCAP_WOL_UCAST | IFCAP_WOL_MCAST | IFCAP_WOL_MAGIC) 249#define IFCAP_TOE (IFCAP_TOE4 | IFCAP_TOE6) 250 --- 301 unchanged lines hidden --- |