Home
last modified time | relevance | path

Searched refs:sesshash (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/netgraph/
H A Dng_pppoe.c288 struct sess_hash_entry sesshash[SESSHASHSIZE]; member
538 mtx_lock(&privp->sesshash[hash].mtx); in pppoe_getnewsession()
547 mtx_unlock(&privp->sesshash[hash].mtx); in pppoe_getnewsession()
563 mtx_lock(&privp->sesshash[hash].mtx); in pppoe_addsession()
565 mtx_unlock(&privp->sesshash[hash].mtx); in pppoe_addsession()
575 mtx_lock(&privp->sesshash[hash].mtx); in pppoe_delsession()
577 mtx_unlock(&privp->sesshash[hash].mtx); in pppoe_delsession()
588 mtx_lock(&privp->sesshash[hash].mtx); in pppoe_findsession()
596 mtx_unlock(&privp->sesshash[hash].mtx); in pppoe_findsession()
675 LIST_INIT(&privp->sesshash[i].head); in ng_pppoe_constructor()
[all …]
H A Dng_pptpgre.c207 LIST_HEAD(, ng_pptpgre_sess) sesshash[SESSHASHSIZE];
340 LIST_INIT(&priv->sesshash[i]); in ng_pptpgre_constructor()
342 LIST_INSERT_HEAD(&priv->sesshash[0], &priv->uppersess, sessions); in ng_pptpgre_constructor()
404 LIST_INSERT_HEAD(&priv->sesshash[hash], hpriv, sessions); in ng_pptpgre_newhook()
442 LIST_INSERT_HEAD(&priv->sesshash[hash], hpriv, in ng_pptpgre_rcvmsg()
1223 LIST_FOREACH(hpriv, &privp->sesshash[hash], sessions) { in ng_pptpgre_find_session()
H A Dng_l2tp.c158 LIST_HEAD(, ng_l2tp_hook_private) sesshash[SESSHASHSIZE];
377 LIST_INIT(&priv->sesshash[i]); in ng_l2tp_constructor()
436 LIST_INSERT_HEAD(&priv->sesshash[hash], hpriv, sessions); in ng_l2tp_newhook()
712 LIST_FOREACH(hpriv, &privp->sesshash[hash], sessions) { in ng_l2tp_find_session()