summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_ppp.h
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-11-10 06:15:22 +0000
committerarchie <archie@FreeBSD.org>1999-11-10 06:15:22 +0000
commit371524a338d5546a9395d05bc8a11f6da8bbce41 (patch)
treee84da24568695849abb9426e9b64c80a4977f574 /sys/netgraph/ng_ppp.h
parentf0cd9c6361465095959d33ba2b546c01d4ad1481 (diff)
downloadFreeBSD-src-371524a338d5546a9395d05bc8a11f6da8bbce41.zip
FreeBSD-src-371524a338d5546a9395d05bc8a11f6da8bbce41.tar.gz
Move handling of the address and control fields into the PPP node;
they belong there because they are device independent. Also some other misc. fixes.
Diffstat (limited to 'sys/netgraph/ng_ppp.h')
-rw-r--r--sys/netgraph/ng_ppp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netgraph/ng_ppp.h b/sys/netgraph/ng_ppp.h
index 2fd99a0..7962746 100644
--- a/sys/netgraph/ng_ppp.h
+++ b/sys/netgraph/ng_ppp.h
@@ -45,7 +45,7 @@
/* Node type name and magic cookie */
#define NG_PPP_NODE_TYPE "ppp"
-#define NGM_PPP_COOKIE 940897792
+#define NGM_PPP_COOKIE 940897793
/* Maximum number of supported links */
#define NG_PPP_MAX_LINKS 16
@@ -86,6 +86,7 @@ enum {
struct ng_ppp_link_config {
u_char enableLink; /* enable this link */
u_char enableProtoComp;/* enable protocol field compression */
+ u_char enableACFComp; /* enable addr/ctrl field compression */
u_int16_t mru; /* peer MRU */
u_int32_t latency; /* link latency (in milliseconds) */
u_int32_t bandwidth; /* link bandwidth (in bytes/second) */
OpenPOWER on IntegriCloud