summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-08-15 01:17:44 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-08-15 01:17:44 +0000
commit81e88a0696ee532469601fd48b329970b74fa05a (patch)
tree39daccc3e980203ad7e179c89614087e2a3853bc
parent56045c6673062b0af52a25b4075e27f45522be3c (diff)
downloadsrc-test2-81e88a0696ee532469601fd48b329970b74fa05a.tar.gz
src-test2-81e88a0696ee532469601fd48b329970b74fa05a.zip
Notes
-rw-r--r--share/man/man4/ng_ether.416
1 files changed, 16 insertions, 0 deletions
diff --git a/share/man/man4/ng_ether.4 b/share/man/man4/ng_ether.4
index a772e3a5aa55..54e01756d411 100644
--- a/share/man/man4/ng_ether.4
+++ b/share/man/man4/ng_ether.4
@@ -135,10 +135,23 @@ Normally this is the same as the name of the node.
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_ENADDR
+Sets the device's unique six byte Ethernet address.
+This control message is equivalent to using the
+.Dv SIOCSIFLLADDR
+.Xr ioctl 2
+system call.
.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_GET_PROMISC
+Get the current value of the node's promiscuous flag.
+The returned value is always either one or zero.
+Note that this flag reflects the node's own promiscuous setting
+and does not necessarily reflect the promiscuous state of the actual
+interface, which can be affected by other means (e.g.,
+.Xr bpf 4 ).
.It Dv NGM_ETHER_SET_AUTOSRC
Sets the automatic source address override flag.
This message includes a single 32 bit integer flag that causes
@@ -147,6 +160,9 @@ 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.
+.It Dv NGM_ETHER_GET_AUTOSRC
+Get the current value of the node's source address override flag.
+The returned value is always either one or zero.
.El
.Sh SHUTDOWN
This node is persistent for as long as the interface exists.