diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-09-22 13:03:49 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-09-22 13:03:49 +0000 |
commit | 7bf133becb3b3e6caff767958a5bcba5af5e926f (patch) | |
tree | 38b6cc220c9939806ed849e8ec6964b2dec92c79 /sys/net/pipex_local.h | |
parent | dd7ff3035ba24dde9fad643ba832183988a4f9f7 (diff) |
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@
Diffstat (limited to 'sys/net/pipex_local.h')
-rw-r--r-- | sys/net/pipex_local.h | 10 |
1 files changed, 9 insertions, 1 deletions
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) \ |