Lines Matching defs:nbr
49 struct nbr *nbr;
63 struct nbr *nbr;
70 struct nbr {
71 RB_ENTRY(nbr) id_tree, addr_tree, pid_tree;
114 RB_HEAD(nbr_id_head, nbr);
115 RB_PROTOTYPE(nbr_id_head, nbr, id_tree, nbr_id_compare)
116 RB_HEAD(nbr_addr_head, nbr);
117 RB_PROTOTYPE(nbr_addr_head, nbr, addr_tree, nbr_addr_compare)
118 RB_HEAD(nbr_pid_head, nbr);
119 RB_PROTOTYPE(nbr_pid_head, nbr, pid_tree, nbr_pid_compare)
161 void send_init(struct nbr *);
162 int recv_init(struct nbr *, char *, uint16_t);
163 void send_capability(struct nbr *, uint16_t, int);
164 int recv_capability(struct nbr *, char *, uint16_t);
167 void send_keepalive(struct nbr *);
168 int recv_keepalive(struct nbr *, char *, uint16_t);
173 void send_notification_rtlvs(struct nbr *, uint32_t, uint32_t, uint16_t,
175 int recv_notification(struct nbr *, char *, uint16_t);
179 void send_address_single(struct nbr *, struct if_addr *, int);
180 void send_address_all(struct nbr *, int);
181 void send_mac_withdrawal(struct nbr *, struct map *, uint8_t *);
182 int recv_address(struct nbr *, char *, uint16_t);
186 void send_labelmessage(struct nbr *, uint16_t, struct mapping_head *);
187 int recv_labelmessage(struct nbr *, char *, uint16_t, uint16_t);
191 int tlv_decode_fec_elm(struct nbr *, struct ldp_msg *, char *,
238 int nbr_fsm(struct nbr *, enum nbr_event);
239 struct nbr *nbr_new(struct in_addr, int, int, union ldpd_addr *,
241 void nbr_del(struct nbr *);
242 struct nbr *nbr_find_ldpid(uint32_t);
243 struct nbr *nbr_find_addr(int, union ldpd_addr *);
244 struct nbr *nbr_find_peerid(uint32_t);
245 int nbr_adj_count(struct nbr *, int);
246 int nbr_session_active_role(struct nbr *);
247 void nbr_stop_ktimer(struct nbr *);
248 void nbr_stop_ktimeout(struct nbr *);
249 void nbr_stop_itimeout(struct nbr *);
250 void nbr_start_idtimer(struct nbr *);
251 void nbr_stop_idtimer(struct nbr *);
252 int nbr_pending_idtimer(struct nbr *);
253 int nbr_pending_connect(struct nbr *);
254 int nbr_establish_connection(struct nbr *);
255 int nbr_gtsm_enabled(struct nbr *, struct nbr_params *);
257 int nbr_gtsm_check(int, struct nbr *, struct nbr_params *);
261 struct ctl_nbr *nbr_to_ctl(struct nbr *);
271 void session_accept_nbr(struct nbr *, int);
272 void session_shutdown(struct nbr *, uint32_t, uint32_t,
274 void session_close(struct nbr *);
275 struct tcp_conn *tcp_new(int, struct nbr *);
281 int pfkey_establish(struct ldpd_conf *, struct nbr *);
282 int pfkey_remove(struct nbr *);