Searched refs:sesshash (Results 1 – 3 of 3) sorted by relevance
| /f-stack/freebsd/netgraph/ |
| H A D | ng_pppoe.c | 288 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 D | ng_pptpgre.c | 207 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 D | ng_l2tp.c | 158 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()
|