/openbsd-src/usr.sbin/ospfd/ |
H A D | ospfe.h | 54 struct nbr { struct 62 struct nbr_stats stats; argument 64 struct lsa_head ls_retrans_list; 65 struct lsa_head db_sum_list; 66 struct lsa_head ls_req_list; 68 struct in_addr addr; 69 struct in_addr id; 70 struct in_addr dr; /* designated router */ 71 struct in_addr bdr; /* backup designated router */ 73 struct iface *iface; [all …]
|
H A D | neighbor.c | 119 nbr_fsm(struct nbr *nbr, enum nbr_event event) in nbr_fsm() 241 struct nbr *nbr; in nbr_init() local 274 struct nbr *nbr; in nbr_new() local 329 nbr_del(struct nbr *nbr) in nbr_del() 360 struct nbr *nbr; in nbr_find_peerid() local 375 struct nbr *nbr = NULL; in nbr_find_id() local 389 struct nbr *nbr = arg; in nbr_itimer() local 398 nbr_start_itimer(struct nbr *nbr) in nbr_start_itimer() 410 nbr_stop_itimer(struct nbr *nbr) in nbr_stop_itimer() 417 nbr_reset_itimer(struct nbr *nbr) in nbr_reset_itimer() [all …]
|
H A D | lsreq.c | 32 send_ls_req(struct nbr *nbr) in send_ls_req() argument 92 recv_ls_req(struct nbr * nbr,char * buf,u_int16_t len) recv_ls_req() argument 117 ls_req_list_add(struct nbr * nbr,struct lsa_hdr * lsa) ls_req_list_add() argument 133 ls_req_list_get(struct nbr * nbr,struct lsa_hdr * lsa_hdr) ls_req_list_get() argument 147 ls_req_list_free(struct nbr * nbr,struct lsa_entry * le) ls_req_list_free() argument 171 ls_req_list_clr(struct nbr * nbr) ls_req_list_clr() argument 186 ls_req_list_empty(struct nbr * nbr) ls_req_list_empty() argument 195 struct nbr *nbr = arg; ls_req_tx_timer() local 229 start_ls_req_tx_timer(struct nbr * nbr) start_ls_req_tx_timer() argument 242 stop_ls_req_tx_timer(struct nbr * nbr) stop_ls_req_tx_timer() argument [all...] |
H A D | database.c | 40 send_db_description(struct nbr *nbr) in send_db_description() argument 164 recv_db_description(struct nbr * nbr,char * buf,u_int16_t len) recv_db_description() argument 354 db_sum_list_add(struct nbr * nbr,struct lsa_hdr * lsa) db_sum_list_add() argument 366 db_sum_list_next(struct nbr * nbr) db_sum_list_next() argument 378 db_sum_list_clr(struct nbr * nbr) db_sum_list_clr() argument 388 struct nbr *nbr = arg; db_tx_timer() local 421 start_db_tx_timer(struct nbr * nbr) start_db_tx_timer() argument 434 stop_db_tx_timer(struct nbr * nbr) stop_db_tx_timer() argument [all...] |
H A D | lsupdate.c | 48 struct nbr *nbr; in lsa_flood() local 234 recv_ls_update(struct nbr * nbr,char * buf,u_int16_t len) recv_ls_update() argument 297 ls_retrans_list_add(struct nbr * nbr,struct lsa_hdr * lsa,unsigned short timeout,unsigned short oneshot) ls_retrans_list_add() argument 326 ls_retrans_list_del(struct nbr * nbr,struct lsa_hdr * lsa_hdr) ls_retrans_list_del() argument 349 ls_retrans_list_get(struct nbr * nbr,struct lsa_hdr * lsa_hdr) ls_retrans_list_get() argument 363 ls_retrans_list_insert(struct nbr * nbr,struct lsa_entry * new) ls_retrans_list_insert() argument 383 ls_retrans_list_remove(struct nbr * nbr,struct lsa_entry * le) ls_retrans_list_remove() argument 413 ls_retrans_list_free(struct nbr * nbr,struct lsa_entry * le) ls_retrans_list_free() argument 422 ls_retrans_list_clr(struct nbr * nbr) ls_retrans_list_clr() argument 438 struct nbr *nbr = bula; ls_retrans_timer() local 609 lsa_cache_put(struct lsa_ref * ref,struct nbr * nbr) lsa_cache_put() argument [all...] |
H A D | rde.c | 254 struct rde_nbr rn, *nbr; rde_dispatch_imsg() local 877 struct rde_nbr *nbr; rde_send_summary_area() local 951 struct rde_nbr *nbr; rde_nbr_find() local 967 struct rde_nbr *nbr; rde_nbr_new() local 1004 struct rde_nbr *nbr, *xnbr; rde_nbr_iface_del() local 1017 rde_nbr_del(struct rde_nbr * nbr) rde_nbr_del() argument 1033 struct rde_nbr *nbr; rde_nbr_loading() local 1060 struct rde_nbr *nbr; rde_nbr_self() local 1075 rde_req_list_add(struct rde_nbr * nbr,struct lsa_hdr * lsa) rde_req_list_add() argument 1089 rde_req_list_exists(struct rde_nbr * nbr,struct lsa_hdr * lsa_hdr) rde_req_list_exists() argument 1103 rde_req_list_del(struct rde_nbr * nbr,struct lsa_hdr * lsa_hdr) rde_req_list_del() argument 1119 rde_req_list_free(struct rde_nbr * nbr) rde_req_list_free() argument [all...] |
/openbsd-src/usr.sbin/ospf6d/ |
H A D | ospfe.h | 54 struct nbr { struct 62 struct nbr_stats stats; argument 64 struct lsa_head ls_retrans_list; 65 struct lsa_head db_sum_list; 66 struct lsa_head ls_req_list; 68 struct in6_addr addr; /* ip6 address */ 69 struct in_addr id; /* router id */ 70 struct in_addr dr; /* designated router */ 71 struct in_addr bdr; /* backup designated router */ 73 struct iface *iface; [all …]
|
H A D | neighbor.c | 119 nbr_fsm(struct nbr *nbr, enum nbr_event event) in nbr_fsm() 242 struct nbr *nbr; in nbr_init() local 276 struct nbr *nbr; in nbr_new() local 334 nbr_del(struct nbr *nbr) in nbr_del() 364 struct nbr *nbr; in nbr_find_peerid() local 379 struct nbr *nbr = NULL; in nbr_find_id() local 393 struct nbr *nbr = arg; in nbr_itimer() local 402 nbr_start_itimer(struct nbr *nbr) in nbr_start_itimer() 414 nbr_stop_itimer(struct nbr *nbr) in nbr_stop_itimer() 421 nbr_reset_itimer(struct nbr *nbr) in nbr_reset_itimer() [all …]
|
H A D | lsreq.c | 33 send_ls_req(struct nbr *nbr) in send_ls_req() 90 recv_ls_req(struct nbr *nbr, char *buf, u_int16_t len) in recv_ls_req() 115 ls_req_list_add(struct nbr *nbr, struct lsa_hdr *lsa) in ls_req_list_add() 131 ls_req_list_get(struct nbr *nbr, struct lsa_hdr *lsa_hdr) in ls_req_list_get() 145 ls_req_list_free(struct nbr *nbr, struct lsa_entry *le) in ls_req_list_free() 169 ls_req_list_clr(struct nbr *nbr) in ls_req_list_clr() 184 ls_req_list_empty(struct nbr *nbr) in ls_req_list_empty() 193 struct nbr *nbr = arg; in ls_req_tx_timer() local 227 start_ls_req_tx_timer(struct nbr *nbr) in start_ls_req_tx_timer() 240 stop_ls_req_tx_timer(struct nbr *nbr) in stop_ls_req_tx_timer()
|
H A D | database.c | 38 send_db_description(struct nbr *nbr) in send_db_description() 158 recv_db_description(struct nbr *nbr, char *buf, u_int16_t len) in recv_db_description() 341 db_sum_list_add(struct nbr *nbr, struct lsa_hdr *lsa) in db_sum_list_add() 353 db_sum_list_next(struct nbr *nbr) in db_sum_list_next() 365 db_sum_list_clr(struct nbr *nbr) in db_sum_list_clr() 375 struct nbr *nbr = arg; in db_tx_timer() local 408 start_db_tx_timer(struct nbr *nbr) in start_db_tx_timer() 421 stop_db_tx_timer(struct nbr *nbr) in stop_db_tx_timer()
|
H A D | lsupdate.c | 51 struct nbr *nbr; in lsa_flood() local 241 recv_ls_update(struct nbr *nbr, char *buf, u_int16_t len) in recv_ls_update() 304 ls_retrans_list_add(struct nbr *nbr, struct lsa_hdr *lsa, in ls_retrans_list_add() 333 ls_retrans_list_del(struct nbr *nbr, struct lsa_hdr *lsa_hdr) in ls_retrans_list_del() 356 ls_retrans_list_get(struct nbr *nbr, struct lsa_hdr *lsa_hdr) in ls_retrans_list_get() 370 ls_retrans_list_insert(struct nbr *nbr, struct lsa_entry *new) in ls_retrans_list_insert() 390 ls_retrans_list_remove(struct nbr *nbr, struct lsa_entry *le) in ls_retrans_list_remove() 420 ls_retrans_list_free(struct nbr *nbr, struct lsa_entry *le) in ls_retrans_list_free() 429 ls_retrans_list_clr(struct nbr *nbr) in ls_retrans_list_clr() 445 struct nbr *nbr = bula; in ls_retrans_timer() local [all …]
|
H A D | rde.c | 267 struct rde_nbr rn, *nbr; rde_dispatch_imsg() local 936 struct rde_nbr *nbr; rde_send_summary_area() local 1008 struct rde_nbr *nbr; rde_nbr_find() local 1024 struct rde_nbr *nbr; rde_nbr_new() local 1054 rde_nbr_del(struct rde_nbr * nbr) rde_nbr_del() argument 1070 struct rde_nbr *nbr; rde_nbr_loading() local 1097 struct rde_nbr *nbr; rde_nbr_self() local 1112 rde_req_list_add(struct rde_nbr * nbr,struct lsa_hdr * lsa) rde_req_list_add() argument 1126 rde_req_list_exists(struct rde_nbr * nbr,struct lsa_hdr * lsa_hdr) rde_req_list_exists() argument 1140 rde_req_list_del(struct rde_nbr * nbr,struct lsa_hdr * lsa_hdr) rde_req_list_del() argument 1156 rde_req_list_free(struct rde_nbr * nbr) rde_req_list_free() argument 1396 struct rde_nbr *nbr; RB_GENERATE() local 1483 struct rde_nbr *nbr; orig_intra_lsa_rtr() local [all...] |
/openbsd-src/usr.sbin/ldpd/ |
H A D | ldpe.h | 49 struct nbr *nbr; member 70 struct nbr { argument 71 RB_ENTRY(nbr) id_tree, addr_tree, pid_tree; argument 58 struct nbr *nbr; global() member 65 struct nbr { global() struct 67 tcpnbr global() argument 69 ev_connectnbr global() argument 72 init_timeoutnbr global() argument 73 initdelay_timernbr global() argument 75 mapping_listnbr global() argument 76 withdraw_listnbr global() argument 77 request_listnbr global() argument 78 release_listnbr global() argument 79 abortreq_listnbr global() argument 81 peeridnbr global() argument 82 afnbr global() argument 83 ds_tlvnbr global() argument 84 v4_enablednbr global() argument 85 v6_enablednbr global() argument 109 flagsnbr global() argument [all...] |
H A D | neighbor.c | 131 nbr_fsm(struct nbr *nbr, enum nbr_event event) in nbr_fsm() 225 struct nbr *nbr; in nbr_new() local 287 nbr_del(struct nbr *nbr) in nbr_del() 316 nbr_update_peerid(struct nbr *nbr) in nbr_update_peerid() 358 nbr_adj_count(struct nbr *nbr, int af) in nbr_adj_count() 371 nbr_session_active_role(struct nbr *nbr) in nbr_session_active_role() 386 struct nbr *nbr = arg; in nbr_ktimer() local 393 nbr_start_ktimer(struct nbr *nbr) in nbr_start_ktimer() 405 nbr_stop_ktimer(struct nbr *nbr) in nbr_stop_ktimer() 417 struct nbr *nbr = arg; in nbr_ktimeout() local [all …]
|
H A D | address.c | 41 send_address(struct nbr *nbr, int af, struct if_addr_head *addr_list, in send_address() 115 send_address_single(struct nbr *nbr, struct if_addr *if_addr, int withdraw) in send_address_single() 125 send_address_all(struct nbr *nbr, int af) in send_address_all() 144 send_mac_withdrawal(struct nbr *nbr, struct map *fec, uint8_t *mac) in send_mac_withdrawal() 178 recv_address(struct nbr *nbr, char *buf, uint16_t len) in recv_address() 398 log_msg_address(int out, uint16_t msg_type, struct nbr *nbr, int af, in log_msg_address() 406 log_msg_mac_withdrawal(int out, struct nbr *nbr, uint8_t *mac) in log_msg_mac_withdrawal()
|
H A D | init.c | 33 send_init(struct nbr *nbr) in send_init() 62 recv_init(struct nbr *nbr, char *buf, uint16_t len) in recv_init() 223 send_capability(struct nbr *nbr, uint16_t capability, int enable) in send_capability() 268 recv_capability(struct nbr *nbr, char *buf, uint16_t len) in recv_capability() 381 gen_init_prms_tlv(struct ibuf *buf, struct nbr *nbr) in gen_init_prms_tlv()
|
H A D | labelmapping.c | 41 enqueue_pdu(struct nbr *nbr, struct ibuf *buf, uint16_t size) in enqueue_pdu() 50 send_labelmessage(struct nbr *nbr, uint16_t type, struct mapping_head *mh) in send_labelmessage() 126 recv_labelmessage(struct nbr *nbr, char *buf, uint16_t len, uint16_t type) in recv_labelmessage() 455 tlv_decode_label(struct nbr *nbr, struct ldp_msg *msg, char *buf, in tlv_decode_label() 692 tlv_decode_fec_elm(struct nbr *nbr, struct ldp_msg *msg, char *buf, in tlv_decode_fec_elm() 916 log_msg_mapping(int out, uint16_t msg_type, struct nbr *nbr, struct map *map) in log_msg_mapping()
|
/openbsd-src/usr.sbin/eigrpd/ |
H A D | eigrpe.h | 35 struct nbr *nbr; member 42 struct nbr { struct 66 RB_PROTOTYPE(nbr_addr_head, nbr, addr_tree, nbr_compare) argument
|
H A D | neighbor.c | 62 struct nbr *nbr; in nbr_new() local 98 nbr_init(struct nbr *nbr) in nbr_init() 122 nbr_del(struct nbr *nbr) in nbr_del() 148 nbr_update_peerid(struct nbr *nbr) in nbr_update_peerid() 190 nbr_to_ctl(struct nbr *nbr) in nbr_to_ctl() 210 struct nbr *nbr, *safe; in nbr_clear_ctl() local 238 struct nbr *nbr = arg; in nbr_timeout() local 247 nbr_start_timeout(struct nbr *nbr) in nbr_start_timeout() 259 nbr_stop_timeout(struct nbr *nbr) in nbr_stop_timeout()
|
H A D | rtp.c | 69 rtp_packet_new(struct nbr *nbr, uint32_t seq_num, struct pbuf *pbuf) in rtp_packet_new() 95 rtp_process_ack(struct nbr *nbr, uint32_t ack_num) in rtp_process_ack() 145 rtp_send_ucast(struct nbr *nbr, struct ibuf *buf) in rtp_send_ucast() 161 struct nbr *nbr; in rtp_send_mcast() local 219 rtp_send(struct eigrp_iface *ei, struct nbr *nbr, struct ibuf *buf) in rtp_send() 228 rtp_send_ack(struct nbr *nbr) in rtp_send_ack() 291 struct nbr *nbr = arg; in rtp_ack_timer() local 297 rtp_ack_start_timer(struct nbr *nbr) in rtp_ack_start_timer() 308 rtp_ack_stop_timer(struct nbr *nbr) in rtp_ack_stop_timer()
|
H A D | rde_dual.c | 245 route_find(struct rde_nbr *nbr, struct rt_node *rn) in route_find() 257 route_new(struct rt_node *rn, struct rde_nbr *nbr, struct rinfo *ri) in route_new() 442 reply_outstanding_add(struct rt_node *rn, struct rde_nbr *nbr) in reply_outstanding_add() 465 reply_outstanding_find(struct rt_node *rn, struct rde_nbr *nbr) in reply_outstanding_find() 490 struct rde_nbr *nbr = reply->nbr; in reply_active_timer() local 522 struct rde_nbr *nbr = reply->nbr; in reply_sia_timer() local 798 rde_send_siaquery(struct rde_nbr *nbr, struct rinfo *ri) in rde_send_siaquery() 810 struct rde_nbr *nbr; in rde_send_query_all() local 850 rde_send_reply(struct rde_nbr *nbr, struct rinfo *ri, int siareply) in rde_send_reply() 869 rde_check_update(struct rde_nbr *nbr, struct rinfo *ri) in rde_check_update() [all …]
|
/openbsd-src/usr.sbin/ripd/ |
H A D | ripe.h | 53 struct nbr { struct 55 struct event timeout_timer; 56 struct in_addr addr; 57 struct in_addr id; 59 struct packet_head rq_list; 60 struct packet_head rp_list; 62 struct iface *iface; 64 u_int32_t peerid; /* unique ID in DB */ 65 u_int32_t auth_seq_num; 66 u_int16_t port; [all …]
|
H A D | neighbor.c | 95 nbr_fsm(struct nbr *nbr, enum nbr_event event) in nbr_fsm() 174 struct nbr *nbr = NULL; in nbr_new() local 206 nbr_del(struct nbr *nbr) in nbr_del() 221 nbr_act_del(struct nbr *nbr) in nbr_act_del() 244 struct nbr *nbr; in nbr_find_peerid() local 259 struct nbr *nbr = NULL; in nbr_find_ip() local 272 nbr_failed_new(struct nbr *nbr) in nbr_failed_new() 326 struct nbr *nbr = arg; in nbr_timeout_timer() local 347 nbr_set_timer(struct nbr *nbr) in nbr_set_timer() 359 nbr_stop_timer(struct nbr *nbr) in nbr_stop_timer() [all …]
|
/openbsd-src/usr.sbin/dvmrpd/ |
H A D | dvmrpe.h | 48 struct nbr { struct 50 struct event inactivity_timer; 52 struct rr_head rr_list; 54 struct in_addr addr; 55 struct in_addr id; 57 struct iface *iface; 59 u_int32_t peerid; /* unique ID in DB */ 60 u_int32_t gen_id; 62 time_t uptime; 64 int state; [all …]
|
H A D | neighbor.c | 90 nbr_fsm(struct nbr *nbr, enum nbr_event event) in nbr_fsm() 190 struct nbr *nbr = NULL; in nbr_new() local 221 nbr_del(struct nbr *nbr) in nbr_del() 238 struct nbr *nbr; in nbr_find_peerid() local 253 struct nbr *nbr = NULL; in nbr_find_ip() local 268 struct nbr *nbr = arg; in nbr_itimer() local 276 nbr_start_itimer(struct nbr *nbr) in nbr_start_itimer() 289 nbr_stop_itimer(struct nbr *nbr) in nbr_stop_itimer() 295 nbr_reset_itimer(struct nbr *nbr) in nbr_reset_itimer() 307 nbr_act_start(struct nbr *nbr) in nbr_act_start() [all …]
|