Home
last modified time | relevance | path

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

/openbsd/sbin/isakmpd/
H A Dconnection.c408 struct connection_passive *pconn; in connection_report() local
418 for (pconn = TAILQ_FIRST(&connections_passive); pconn; in connection_report()
419 pconn = TAILQ_NEXT(pconn, link)) in connection_report()
421 "connection_report: passive connection %s %s", pconn->name, in connection_report()
423 pconn->local_id, pconn->local_sz, in connection_report()
424 pconn->remote_id, pconn->remote_sz, 1))); in connection_report()
432 struct connection_passive *pconn, *pnext; in connection_reinit() local
443 for (pconn = TAILQ_FIRST(&connections_passive); pconn; pconn = pnext) { in connection_reinit()
444 pnext = TAILQ_NEXT(pconn, link); in connection_reinit()
445 connection_passive_teardown(pconn->name); in connection_reinit()
/openbsd/usr.sbin/ldpd/
H A Dpacket.c366 if (pconn) in session_accept()
730 if ((pconn = calloc(1, sizeof(*pconn))) == NULL) in pending_conn_new()
733 pconn->fd = fd; in pending_conn_new()
734 pconn->af = af; in pending_conn_new()
735 pconn->addr = *addr; in pending_conn_new()
736 evtimer_set(&pconn->ev_timeout, pending_conn_timeout, pconn); in pending_conn_new()
744 return (pconn); in pending_conn_new()
755 free(pconn); in pending_conn_del()
764 if (af == pconn->af && in pending_conn_find()
766 return (pconn); in pending_conn_find()
[all …]
H A Dneighbor.c227 struct pending_conn *pconn; in nbr_new() local
277 pconn = pending_conn_find(nbr->af, &nbr->raddr); in nbr_new()
278 if (pconn) { in nbr_new()
279 session_accept_nbr(nbr, pconn->fd); in nbr_new()
280 pending_conn_del(pconn); in nbr_new()