summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_ether.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_ether.h')
-rw-r--r--sys/netgraph/ng_ether.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ether.h b/sys/netgraph/ng_ether.h
index c8cbf1f..1d20b64 100644
--- a/sys/netgraph/ng_ether.h
+++ b/sys/netgraph/ng_ether.h
@@ -45,7 +45,7 @@
/* Node type name and magic cookie */
#define NG_ETHER_NODE_TYPE "ether"
-#define NGM_ETHER_COOKIE 917786905
+#define NGM_ETHER_COOKIE 917786906
/* Hook names */
#define NG_ETHER_HOOK_LOWER "lower" /* connection to raw device */
@@ -58,7 +58,10 @@ enum {
NGM_ETHER_GET_IFNAME = 1, /* get the interface name */
NGM_ETHER_GET_IFINDEX, /* get the interface global index # */
NGM_ETHER_GET_ENADDR, /* get Ethernet address */
+ NGM_ETHER_SET_ENADDR, /* set Ethernet address */
+ NGM_ETHER_GET_PROMISC, /* get node's promiscuous mode bit */
NGM_ETHER_SET_PROMISC, /* enable/disable promiscuous mode */
+ NGM_ETHER_GET_AUTOSRC, /* get source address override */
NGM_ETHER_SET_AUTOSRC, /* enable/disable src addr override */
};
OpenPOWER on IntegriCloud