From 4336de9993991afb8b7bcd10a20d98ce83b86fe6 Mon Sep 17 00:00:00 2001 From: archie Date: Mon, 8 Nov 1999 03:10:20 +0000 Subject: Get rid of the 'sync2' hook, which was a hack. Instead, just directly detect outgoing LCP frames and do the right thing. --- sys/netgraph/ng_async.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/netgraph/ng_async.h') 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 -- cgit v1.1