summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_rfc1490.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_rfc1490.h')
-rw-r--r--sys/netgraph/ng_rfc1490.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/netgraph/ng_rfc1490.h b/sys/netgraph/ng_rfc1490.h
index 3468e26..2950988 100644
--- a/sys/netgraph/ng_rfc1490.h
+++ b/sys/netgraph/ng_rfc1490.h
@@ -1,4 +1,3 @@
-
/*
* ng_rfc1490.h
*
@@ -45,7 +44,7 @@
/* Node type name */
#define NG_RFC1490_NODE_TYPE "rfc1490"
-#define NGM_RFC1490_COOKIE 861060632
+#define NGM_RFC1490_COOKIE 1086947474
/* Hook names */
#define NG_RFC1490_HOOK_DOWNSTREAM "downstream"
@@ -53,4 +52,10 @@
#define NG_RFC1490_HOOK_PPP "ppp"
#define NG_RFC1490_HOOK_ETHERNET "ethernet"
+/* Netgraph commands */
+enum {
+ NGM_RFC1490_SET_ENCAP, /* sets encapsulation method */
+ NGM_RFC1490_GET_ENCAP, /* gets current encapsulation method */
+};
+
#endif /* _NETGRAPH_NG_RFC1490_H_ */
OpenPOWER on IntegriCloud