Home
last modified time | relevance | path

Searched defs:nbr (Results 1 – 25 of 85) sorted by relevance

1234

/openbsd/usr.sbin/ospf6d/
H A Dospfe.h54 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 */
73 struct iface *iface;
74 struct lsa_entry *ls_req;
75 struct lsa_entry *dd_end;
[all …]
H A Dneighbor.c242 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
435 struct nbr *nbr = arg; in nbr_adj_timer() local
478 nbr_adj_ok(struct nbr *nbr) in nbr_adj_ok()
505 nbr_act_eval(struct nbr *nbr) in nbr_act_eval()
565 nbr_act_adj_ok(struct nbr *nbr) in nbr_act_adj_ok()
[all …]
H A Dlsreq.c33 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 Ddatabase.c38 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 Dlsupdate.c51 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 Drde.c267 struct rde_nbr rn, *nbr; in rde_dispatch_imsg() local
936 struct rde_nbr *nbr; in rde_send_summary_area() local
1008 struct rde_nbr *nbr; in rde_nbr_find() local
1024 struct rde_nbr *nbr; in rde_nbr_new() local
1054 rde_nbr_del(struct rde_nbr *nbr) in rde_nbr_del()
1070 struct rde_nbr *nbr; in rde_nbr_loading() local
1097 struct rde_nbr *nbr; in rde_nbr_self() local
1112 rde_req_list_add(struct rde_nbr *nbr, struct lsa_hdr *lsa) in rde_req_list_add()
1156 rde_req_list_free(struct rde_nbr *nbr) in rde_req_list_free()
1396 struct rde_nbr *nbr; in RB_GENERATE() local
[all …]
/openbsd/usr.sbin/ospfd/
H A Dospfe.h54 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;
73 struct iface *iface;
74 struct lsa_entry *ls_req;
75 struct lsa_entry *dd_end;
[all …]
H A Dneighbor.c241 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
431 struct nbr *nbr = arg; in nbr_adj_timer() local
473 nbr_adj_ok(struct nbr *nbr) in nbr_adj_ok()
500 nbr_act_eval(struct nbr *nbr) in nbr_act_eval()
562 nbr_act_adj_ok(struct nbr *nbr) in nbr_act_adj_ok()
[all …]
H A Dlsreq.c32 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()
H A Ddatabase.c40 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()
H A Dlsupdate.c48 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 …]
H A Drde.c254 struct rde_nbr rn, *nbr; in rde_dispatch_imsg() local
877 struct rde_nbr *nbr; in rde_send_summary_area() local
951 struct rde_nbr *nbr; in rde_nbr_find() local
967 struct rde_nbr *nbr; in rde_nbr_new() local
1004 struct rde_nbr *nbr, *xnbr; in rde_nbr_iface_del() local
1017 rde_nbr_del(struct rde_nbr *nbr) in rde_nbr_del()
1033 struct rde_nbr *nbr; in rde_nbr_loading() local
1060 struct rde_nbr *nbr; in rde_nbr_self() local
1075 rde_req_list_add(struct rde_nbr *nbr, struct lsa_hdr *lsa) in rde_req_list_add()
1103 rde_req_list_del(struct rde_nbr *nbr, struct lsa_hdr *lsa_hdr) in rde_req_list_del()
[all …]
/openbsd/usr.sbin/ldpd/
H A Dldpe.h49 struct nbr *nbr; member
58 struct nbr *nbr; member
65 struct nbr { struct
67 struct tcp_conn *tcp;
69 struct event ev_connect;
70 struct event keepalive_timer;
72 struct event init_timeout;
73 struct event initdelay_timer;
82 int af;
83 int ds_tlv;
[all …]
H A Dneighbor.c225 struct nbr *nbr; in nbr_new() local
287 nbr_del(struct nbr *nbr) in nbr_del()
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
449 struct nbr *nbr = arg; in nbr_itimeout() local
480 struct nbr *nbr = arg; in nbr_idtimer() local
545 struct nbr *nbr = arg; in nbr_connect_cb() local
791 nbr_to_ctl(struct nbr *nbr) in nbr_to_ctl()
[all …]
H A Daddress.c41 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 Dinit.c33 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 Dlabelmapping.c41 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/usr.sbin/eigrpd/
H A Deigrpe.h35 struct nbr *nbr; member
42 struct nbr { struct
66 RB_PROTOTYPE(nbr_addr_head, nbr, addr_tree, nbr_compare) argument
H A Dneighbor.c62 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 Drtp.c69 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 Drde_dual.c245 route_find(struct rde_nbr *nbr, struct rt_node *rn) in route_find()
442 reply_outstanding_add(struct rt_node *rn, struct rde_nbr *nbr) in reply_outstanding_add()
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
869 rde_check_update(struct rde_nbr *nbr, struct rinfo *ri) in rde_check_update()
1231 rde_check_link_down_nbr(struct rde_nbr *nbr) in rde_check_link_down_nbr()
1250 struct rde_nbr *nbr; in rde_check_link_down() local
1283 struct rde_nbr *nbr; in rde_nbr_new() local
[all …]
/openbsd/usr.sbin/ripd/
H A Dripe.h53 struct nbr { struct
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;
65 u_int32_t auth_seq_num;
66 u_int16_t port;
67 time_t uptime;
68 int state;
[all …]
H A Dneighbor.c95 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/usr.sbin/dvmrpd/
H A Ddvmrpe.h48 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 Dneighbor.c190 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()
349 nbr_act_delete(struct nbr *nbr) in nbr_act_delete()
[all …]

1234