summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-04-11 13:36:52 +0000
committerru <ru@FreeBSD.org>2004-04-11 13:36:52 +0000
commitdd9ed984465845ba1807ad894b5cf81130230e40 (patch)
treeeb90827d051db0f6371dd1c8ac8eb80327a9d9cb /sys/net/if.h
parent7ddbd99725ac33c28e22b6ca7838e1f78371be63 (diff)
downloadFreeBSD-src-dd9ed984465845ba1807ad894b5cf81130230e40.zip
FreeBSD-src-dd9ed984465845ba1807ad894b5cf81130230e40.tar.gz
Added the new interface capability option for drivers that implement
user-configurable polling(4) support. Make ifconfig(8) aware of it. Suggested by: luigi
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 62f4f92..625dfe0 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -169,6 +169,7 @@ struct if_data {
#define IFCAP_VLAN_MTU 0x0008 /* VLAN-compatible MTU */
#define IFCAP_VLAN_HWTAGGING 0x0010 /* hardware VLAN tag support */
#define IFCAP_JUMBO_MTU 0x0020 /* 9000 byte MTU supported */
+#define IFCAP_POLLING 0x0040 /* driver supports polling */
#define IFCAP_HWCSUM (IFCAP_RXCSUM | IFCAP_TXCSUM)
OpenPOWER on IntegriCloud