summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_async.h
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-11-08 03:10:20 +0000
committerarchie <archie@FreeBSD.org>1999-11-08 03:10:20 +0000
commit4336de9993991afb8b7bcd10a20d98ce83b86fe6 (patch)
treeee986c078713e96cd0dae8c8cde3398c54bb5ba5 /sys/netgraph/ng_async.h
parent4ada2ddb7d26fd5699b7f2a1e0acb1cd6b30d8f4 (diff)
downloadFreeBSD-src-4336de9993991afb8b7bcd10a20d98ce83b86fe6.zip
FreeBSD-src-4336de9993991afb8b7bcd10a20d98ce83b86fe6.tar.gz
Get rid of the 'sync2' hook, which was a hack. Instead, just
directly detect outgoing LCP frames and do the right thing.
Diffstat (limited to 'sys/netgraph/ng_async.h')
-rw-r--r--sys/netgraph/ng_async.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netgraph/ng_async.h b/sys/netgraph/ng_async.h
index f08290f..008cf2e 100644
--- a/sys/netgraph/ng_async.h
+++ b/sys/netgraph/ng_async.h
@@ -45,12 +45,11 @@
/* Type name and cookie */
#define NG_ASYNC_NODE_TYPE "async"
-#define NGM_ASYNC_COOKIE 886473715
+#define NGM_ASYNC_COOKIE 886473716
/* Hook names */
-#define NG_ASYNC_HOOK_SYNC "sync" /* Normal encoding */
-#define NG_ASYNC_HOOK_SYNC2 "sync2" /* Full ACCM, no ACF comp. */
-#define NG_ASYNC_HOOK_ASYNC "async" /* Normal decoding */
+#define NG_ASYNC_HOOK_SYNC "sync" /* Sync frames */
+#define NG_ASYNC_HOOK_ASYNC "async" /* Async-encoded frames */
/* Maximum receive size bounds (for both sync and async sides) */
#define NG_ASYNC_MIN_MRU 1
OpenPOWER on IntegriCloud