diff options
author | Archie Cobbs <archie@FreeBSD.org> | 2000-08-07 18:53:42 +0000 |
---|---|---|
committer | Archie Cobbs <archie@FreeBSD.org> | 2000-08-07 18:53:42 +0000 |
commit | 1623d68286c88f545c37fe19c78662b6abc5bd90 (patch) | |
tree | 0a9cb93a6d60d33d694bc9ac73a8e1b335cb78d1 /share/man/man4/ng_ether.4 | |
parent | 4b39c3c7b3182961c25aa73d746af8c07ded7f4d (diff) | |
download | src-test2-1623d68286c88f545c37fe19c78662b6abc5bd90.tar.gz src-test2-1623d68286c88f545c37fe19c78662b6abc5bd90.zip |
Notes
Diffstat (limited to 'share/man/man4/ng_ether.4')
-rw-r--r-- | share/man/man4/ng_ether.4 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/share/man/man4/ng_ether.4 b/share/man/man4/ng_ether.4 index 3dd20c8a2c3d..5d6655ae5cd6 100644 --- a/share/man/man4/ng_ether.4 +++ b/share/man/man4/ng_ether.4 @@ -133,12 +133,28 @@ Returns the name of the associated interface as a NUL-terminated ASCII string. Normally this is the same as the name of the node. .It Dv NGM_ETHER_GET_IFINDEX Returns the global index of the associated interface as a 32 bit integer. +.It Dv NGM_ETHER_GET_ENADDR +Returns the device's unique six byte Ethernet address. +.It Dv NGM_ETHER_SET_PROMISC +Enable or disable promiscuous mode. +This message includes a single 32 bit integer flag that enables or +disables promiscuous mode on the interface. +.It Dv NGM_ETHER_SET_AUTOSRC +Sets the automatic source address override flag. +This message includes a single 32 bit integer flag causes +all outgoing packets to have their source Ethernet +address field overwritten with the device's unique Ethernet address. +If this flag is set to zero, the source address in outgoing packets +is not modified. +The default setting for this flag is enabled. .El .Sh SHUTDOWN This node is persistent for as long as the interface exists. Upon receipt of a .Dv NGM_SHUTDOWN -control message, all hooks are disconnected, but the node is not removed. +control message, all hooks are disconnected, promiscuous mode is disabled, +and the source address override flag is reenabled, +but the node is not removed. If the interface itself is detached (e.g., because of PCCARD removal), the node disappears as well. .Sh EXAMPLE |