Home
last modified time | relevance | path

Searched refs:peerlist (Results 1 – 7 of 7) sorted by relevance

/openbsd/usr.sbin/sasyncd/
H A Dnet.c288 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 Dsasyncd.h65 LIST_HEAD(, syncpeer) peerlist;
H A Dconf.y177 for (peer = LIST_FIRST(&cfgstate.peerlist); peer;
195 LIST_INSERT_HEAD(&cfgstate.peerlist, peer, link);
H A Dsasyncd.c187 LIST_INIT(&cfgstate.peerlist); in main()
H A Dnet_ctl.c206 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in net_ctl_update_state()
H A Dpfkey.c221 for (p = LIST_FIRST(&cfgstate.peerlist); p; p = LIST_NEXT(p, link)) { in pfkey_msg_filter()
/openbsd/usr.sbin/bgpd/
H A Dprintconf.c1208 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()