Lines Matching refs:cid
105 u_int16_t cid; /* call id */
231 static hpriv_p ng_pptpgre_find_session(priv_p privp, u_int16_t cid);
368 uint16_t cid, hash;
375 for (cid = i = 0; i < 4; i++) {
379 cid = (cid << 4) | j;
392 hpriv->conf.cid = cid;
402 hash = SESSHASH(cid);
434 /* Try to find session by cid. */
435 hpriv = ng_pptpgre_find_session(priv, newConf->cid);
440 hash = SESSHASH(newConf->cid);
453 /* Try to find session by cid. */
625 be16enc(&gre->cid, hpriv->conf.peerCid);
823 hpriv = ng_pptpgre_find_session(priv, be16dec(&gre->cid));
1218 ng_pptpgre_find_session(priv_p privp, u_int16_t cid)
1220 uint16_t hash = SESSHASH(cid);
1224 if (hpriv->conf.cid == cid)