summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_etf.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/ng_etf.4')
-rw-r--r--share/man/man4/ng_etf.412
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man4/ng_etf.4 b/share/man/man4/ng_etf.4
index adc3fba..a35f4fa 100644
--- a/share/man/man4/ng_etf.4
+++ b/share/man/man4/ng_etf.4
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 16, 2006
+.Dd November 13, 2012
.Dt NG_ETF 4
.Os
.Sh NAME
@@ -66,7 +66,7 @@ than those configured by the control messages must have arrived via the
hook.
.Sh HOOKS
This node type supports the following hooks:
-.Bl -tag -width ".Em downstream"
+.Bl -tag -width ".Aq Em any legal name"
.It Em downstream
Typically this hook would be connected to a
.Xr ng_ether 4
@@ -89,11 +89,11 @@ with a particular set of ethertypes.
.Sh CONTROL MESSAGES
This node type supports the generic control messages, plus the following:
.Bl -tag -width 4n
-.It Dv NGM_ETF_GET_STATUS
+.It Dv NGM_ETF_GET_STATUS Pq Ic getstatus
This command returns a
.Vt "struct ng_etfstat"
containing node statistics for packet counts.
-.It Dv NGM_ETF_SET_FILTER
+.It Dv NGM_ETF_SET_FILTER Pq Ic setfilter
Sets the a new ethertype filter into the node and specifies the hook to and
from which packets of that type should use.
The hook and ethertype
@@ -101,8 +101,8 @@ are specified in a structure of type
.Vt "struct ng_etffilter" :
.Bd -literal -offset 4n
struct ng_etffilter {
- char matchhook[NG_HOOKSIZ]; /* hook name */
- uint16_t ethertype; /* catch these */
+ char matchhook[NG_HOOKSIZ]; /* hook name */
+ uint16_t ethertype; /* this ethertype to this hook */
};
.Ed
.El
OpenPOWER on IntegriCloud