Searched refs:peerlist (Results 1 – 7 of 7) sorted by relevance
/openbsd/usr.sbin/sasyncd/ |
H A D | net.c | 288 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_init() 408 for (p = LIST_FIRST(&cfgstate.peerlist); p; in net_queue() 427 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) in net_set_pending_wfds() 446 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_set_rfds() 480 for (p = LIST_FIRST(&cfgstate.peerlist); p && !found; in net_accept() 530 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_handle_messages() 577 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_send_messages() 633 while ((p = LIST_FIRST(&cfgstate.peerlist))) { in net_shutdown() 804 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_connect()
|
H A D | sasyncd.h | 65 LIST_HEAD(, syncpeer) peerlist;
|
H A D | conf.y | 177 for (peer = LIST_FIRST(&cfgstate.peerlist); peer; 195 LIST_INSERT_HEAD(&cfgstate.peerlist, peer, link);
|
H A D | sasyncd.c | 187 LIST_INIT(&cfgstate.peerlist); in main()
|
H A D | net_ctl.c | 206 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_ctl_update_state()
|
H A D | pfkey.c | 221 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in pfkey_msg_filter()
|
/openbsd/usr.sbin/bgpd/ |
H A D | printconf.c | 1208 struct peer **peerlist; in print_groups() local 1217 if ((peerlist = calloc(peer_cnt, sizeof(*peerlist))) == NULL) in print_groups() 1221 peerlist[i++] = p; in print_groups() 1223 qsort(peerlist, peer_cnt, sizeof(*peerlist), peer_compare); in print_groups() 1227 if (peerlist[i]->conf.groupid) { in print_groups() 1229 if (peerlist[i]->conf.groupid != prev_groupid) { in print_groups() 1233 peerlist[i]->conf.group); in print_groups() 1234 prev_groupid = peerlist[i]->conf.groupid; in print_groups() 1239 print_peer(peerlist[i], conf, c); in print_groups() 1245 free(peerlist); in print_groups()
|