summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_rfc1490.h
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-01-14 00:39:28 +0000
committergreen <green@FreeBSD.org>2004-01-14 00:39:28 +0000
commit559736766651574fd514e3b2beb1d22e74e67c82 (patch)
tree6dfa549d8dbc3e1226e0991b776f41005fbd85ff /sys/netgraph/ng_rfc1490.h
parentb028f9e2688d87d96018f00c1d11e6e16cd4e111 (diff)
downloadFreeBSD-src-559736766651574fd514e3b2beb1d22e74e67c82.zip
FreeBSD-src-559736766651574fd514e3b2beb1d22e74e67c82.tar.gz
Add an "ethernet" hook to the rfc1490 netgraph module. It will send
and receive FCS-less RFC1490-"bridged" Ethernet packets that are currently just ignored.
Diffstat (limited to 'sys/netgraph/ng_rfc1490.h')
-rw-r--r--sys/netgraph/ng_rfc1490.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/ng_rfc1490.h b/sys/netgraph/ng_rfc1490.h
index c25d853..3468e26 100644
--- a/sys/netgraph/ng_rfc1490.h
+++ b/sys/netgraph/ng_rfc1490.h
@@ -51,5 +51,6 @@
#define NG_RFC1490_HOOK_DOWNSTREAM "downstream"
#define NG_RFC1490_HOOK_INET "inet"
#define NG_RFC1490_HOOK_PPP "ppp"
+#define NG_RFC1490_HOOK_ETHERNET "ethernet"
#endif /* _NETGRAPH_NG_RFC1490_H_ */
OpenPOWER on IntegriCloud