diff options
author | archie <archie@FreeBSD.org> | 2000-08-07 18:52:26 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-08-07 18:52:26 +0000 |
commit | ee875aa6c2456bdf048e991558c25752ca933302 (patch) | |
tree | 9fff945ee1cf1d822c279edba7312e3ca2b6c07a /sys/netgraph/ng_ether.h | |
parent | 3f5533135215e8ab3d5bd8ab8b3a3cf55919892b (diff) | |
download | FreeBSD-src-ee875aa6c2456bdf048e991558c25752ca933302.zip FreeBSD-src-ee875aa6c2456bdf048e991558c25752ca933302.tar.gz |
Add three new control messages to the ng_ether(4) netgraph node type:
NGM_ETHER_GET_ENADDR: Get the device's Ethernet address
NGM_ETHER_SET_PROMISC: Enable/disable promiscuous mode
NGM_ETHER_SET_AUTOSRC: Enable/disable packet source address override
Diffstat (limited to 'sys/netgraph/ng_ether.h')
-rw-r--r-- | sys/netgraph/ng_ether.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netgraph/ng_ether.h b/sys/netgraph/ng_ether.h index 71c73a9..c8cbf1f 100644 --- a/sys/netgraph/ng_ether.h +++ b/sys/netgraph/ng_ether.h @@ -57,6 +57,9 @@ 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_PROMISC, /* enable/disable promiscuous mode */ + NGM_ETHER_SET_AUTOSRC, /* enable/disable src addr override */ }; #endif /* _NETGRAPH_NG_ETHER_H_ */ |