From 7bf133becb3b3e6caff767958a5bcba5af5e926f Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 22 Sep 2010 13:03:49 +0000 Subject: Add a new interface pppx(4) -- the ppp multiplexer to be used with npppd and pipex. pppx(4) creates an interface whenever a session is created so that altq and pf can work on these. Started by dlg@ debugged and made usable by myself OK dlg@ yasuoka@ deraadt@ --- sys/net/pipex_local.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/net/pipex_local.h') diff --git a/sys/net/pipex_local.h b/sys/net/pipex_local.h index ecc4eee134d..5a113a39ccd 100644 --- a/sys/net/pipex_local.h +++ b/sys/net/pipex_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex_local.h,v 1.7 2010/07/09 08:36:31 yasuoka Exp $ */ +/* $OpenBSD: pipex_local.h,v 1.8 2010/09/22 13:03:48 claudio Exp $ */ /* * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -186,6 +186,14 @@ struct pipex_pppoe_header { #define PIPEX_MPPE_DBG(a) #endif /* PIPEX_DEBUG */ +LIST_HEAD(pipex_hash_head, pipex_session); + +extern struct pipex_hash_head pipex_session_list; +extern struct pipex_hash_head pipex_close_wait_list; +extern struct pipex_hash_head pipex_peer_addr_hashtable[]; +extern struct pipex_hash_head pipex_id_hashtable[]; + + #define PIPEX_ID_HASHTABLE(key) \ (&pipex_id_hashtable[(key) & PIPEX_HASH_MASK]) #define PIPEX_PEER_ADDR_HASHTABLE(key) \ -- cgit v1.2.3