| /openbsd/src/usr.sbin/ospf6d/ |
| 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 …]
|
| 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 …]
|
| 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()
|
| 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()
|
| 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 …]
|
| D | rde.c | 269 struct rde_nbr rn, *nbr; in rde_dispatch_imsg() local 942 struct rde_nbr *nbr; in rde_send_summary_area() local 1014 struct rde_nbr *nbr; in rde_nbr_find() local 1030 struct rde_nbr *nbr; in rde_nbr_new() local 1060 rde_nbr_del(struct rde_nbr *nbr) in rde_nbr_del() 1076 struct rde_nbr *nbr; in rde_nbr_loading() local 1103 struct rde_nbr *nbr; in rde_nbr_self() local 1118 rde_req_list_add(struct rde_nbr *nbr, struct lsa_hdr *lsa) in rde_req_list_add() 1132 rde_req_list_exists(struct rde_nbr *nbr, struct lsa_hdr *lsa_hdr) in rde_req_list_exists() 1146 rde_req_list_del(struct rde_nbr *nbr, struct lsa_hdr *lsa_hdr) in rde_req_list_del() [all …]
|
| /openbsd/src/usr.sbin/ospfd/ |
| 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 …]
|
| 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 …]
|
| D | lsreq.c | 32 send_ls_req(struct nbr *nbr) in send_ls_req() 92 recv_ls_req(struct nbr *nbr, char *buf, u_int16_t len) in recv_ls_req() 117 ls_req_list_add(struct nbr *nbr, struct lsa_hdr *lsa) in ls_req_list_add() 133 ls_req_list_get(struct nbr *nbr, struct lsa_hdr *lsa_hdr) in ls_req_list_get() 147 ls_req_list_free(struct nbr *nbr, struct lsa_entry *le) in ls_req_list_free() 171 ls_req_list_clr(struct nbr *nbr) in ls_req_list_clr() 186 ls_req_list_empty(struct nbr *nbr) in ls_req_list_empty() 195 struct nbr *nbr = arg; in ls_req_tx_timer() local 229 start_ls_req_tx_timer(struct nbr *nbr) in start_ls_req_tx_timer() 242 stop_ls_req_tx_timer(struct nbr *nbr) in stop_ls_req_tx_timer()
|
| D | database.c | 40 send_db_description(struct nbr *nbr) in send_db_description() 164 recv_db_description(struct nbr *nbr, char *buf, u_int16_t len) in recv_db_description() 354 db_sum_list_add(struct nbr *nbr, struct lsa_hdr *lsa) in db_sum_list_add() 366 db_sum_list_next(struct nbr *nbr) in db_sum_list_next() 378 db_sum_list_clr(struct nbr *nbr) in db_sum_list_clr() 388 struct nbr *nbr = arg; in db_tx_timer() local 421 start_db_tx_timer(struct nbr *nbr) in start_db_tx_timer() 434 stop_db_tx_timer(struct nbr *nbr) in stop_db_tx_timer()
|
| D | lsupdate.c | 48 struct nbr *nbr; in lsa_flood() local 234 recv_ls_update(struct nbr *nbr, char *buf, u_int16_t len) in recv_ls_update() 297 ls_retrans_list_add(struct nbr *nbr, struct lsa_hdr *lsa, in ls_retrans_list_add() 326 ls_retrans_list_del(struct nbr *nbr, struct lsa_hdr *lsa_hdr) in ls_retrans_list_del() 349 ls_retrans_list_get(struct nbr *nbr, struct lsa_hdr *lsa_hdr) in ls_retrans_list_get() 363 ls_retrans_list_insert(struct nbr *nbr, struct lsa_entry *new) in ls_retrans_list_insert() 383 ls_retrans_list_remove(struct nbr *nbr, struct lsa_entry *le) in ls_retrans_list_remove() 413 ls_retrans_list_free(struct nbr *nbr, struct lsa_entry *le) in ls_retrans_list_free() 422 ls_retrans_list_clr(struct nbr *nbr) in ls_retrans_list_clr() 438 struct nbr *nbr = bula; in ls_retrans_timer() local [all …]
|
| D | rde.c | 256 struct rde_nbr rn, *nbr; in rde_dispatch_imsg() local 883 struct rde_nbr *nbr; in rde_send_summary_area() local 957 struct rde_nbr *nbr; in rde_nbr_find() local 973 struct rde_nbr *nbr; in rde_nbr_new() local 1010 struct rde_nbr *nbr, *xnbr; in rde_nbr_iface_del() local 1023 rde_nbr_del(struct rde_nbr *nbr) in rde_nbr_del() 1039 struct rde_nbr *nbr; in rde_nbr_loading() local 1066 struct rde_nbr *nbr; in rde_nbr_self() local 1081 rde_req_list_add(struct rde_nbr *nbr, struct lsa_hdr *lsa) in rde_req_list_add() 1095 rde_req_list_exists(struct rde_nbr *nbr, struct lsa_hdr *lsa_hdr) in rde_req_list_exists() [all …]
|
| /openbsd/src/usr.sbin/ldpd/ |
| D | ldpe.h | 49 struct nbr *nbr; member 63 struct nbr *nbr; member 70 struct nbr { struct 72 struct tcp_conn *tcp; 74 struct event ev_connect; 75 struct event keepalive_timer; 76 struct event keepalive_timeout; 77 struct event init_timeout; 78 struct event initdelay_timer; 80 struct mapping_head mapping_list; [all …]
|
| 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 …]
|
| 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()
|
| 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()
|
| 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/ |
| D | eigrpe.h | 35 struct nbr *nbr; member 42 struct nbr { struct 66 RB_PROTOTYPE(nbr_addr_head, nbr, addr_tree, nbr_compare) argument
|
| 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()
|
| 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()
|
| 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/ |
| 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 …]
|
| 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/ |
| 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 …]
|
| 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 …]
|