Searched refs:sesshash (Results 1 – 3 of 3) sorted by relevance
| /dflybsd-src/sys/netgraph7/pppoe/ |
| H A D | ng_pppoe.c | 263 struct sess_hash_entry sesshash[SESSHASHSIZE]; member 514 mtx_lock(&privp->sesshash[hash].mtx); in pppoe_getnewsession() 515 LIST_FOREACH(tsp, &privp->sesshash[hash].head, sessions) { in pppoe_getnewsession() 521 LIST_INSERT_HEAD(&privp->sesshash[hash].head, sp, sessions); in pppoe_getnewsession() 523 mtx_unlock(&privp->sesshash[hash].mtx); in pppoe_getnewsession() 539 mtx_lock(&privp->sesshash[hash].mtx); in pppoe_addsession() 540 LIST_INSERT_HEAD(&privp->sesshash[hash].head, sp, sessions); in pppoe_addsession() 541 mtx_unlock(&privp->sesshash[hash].mtx); in pppoe_addsession() 551 mtx_lock(&privp->sesshash[hash].mtx); in pppoe_delsession() 553 mtx_unlock(&privp->sesshash[hash].mtx); in pppoe_delsession() [all …]
|
| /dflybsd-src/sys/netgraph7/pptpgre/ |
| H A D | ng_pptpgre.c | 170 LIST_HEAD(, ng_pptpgre_sess) sesshash[SESSHASHSIZE]; 296 LIST_INIT(&priv->sesshash[i]); in ng_pptpgre_constructor() 298 LIST_INSERT_HEAD(&priv->sesshash[0], &priv->uppersess, sessions); in ng_pptpgre_constructor() 355 LIST_INSERT_HEAD(&priv->sesshash[hash], hpriv, sessions); in ng_pptpgre_newhook() 393 LIST_INSERT_HEAD(&priv->sesshash[hash], hpriv, in ng_pptpgre_rcvmsg() 934 LIST_FOREACH(hpriv, &privp->sesshash[hash], sessions) { in ng_pptpgre_find_session()
|
| /dflybsd-src/sys/netgraph7/l2tp/ |
| H A D | ng_l2tp.c | 158 LIST_HEAD(, ng_l2tp_hook_private) sesshash[SESSHASHSIZE]; 380 LIST_INIT(&priv->sesshash[i]); in ng_l2tp_constructor() 439 LIST_INSERT_HEAD(&priv->sesshash[hash], hpriv, sessions); in ng_l2tp_newhook() 731 LIST_FOREACH(hpriv, &privp->sesshash[hash], sessions) { in ng_l2tp_find_session()
|