/netbsd-src/usr.sbin/ldpd/ |
H A D | ldp_peer.h | 55 struct ldp_peer { struct 75 SLIST_ENTRY(ldp_peer) peers; argument 77 extern SLIST_HEAD(ldp_peer_head,ldp_peer) ldp_peer_head; 80 struct ldp_peer *peer; 92 struct ldp_peer * ldp_peer_new(const struct in_addr *, const struct sockaddr *, 94 void ldp_peer_holddown(struct ldp_peer *); 95 void ldp_peer_delete(struct ldp_peer *); 96 struct ldp_peer * get_ldp_peer(const struct sockaddr *); 97 struct ldp_peer * get_ldp_peer_by_id(const struct in_addr *); 98 struct ldp_peer * get_ldp_peer_by_socket(int); [all …]
|
H A D | ldp_peer.c | 60 static struct label_mapping *ldp_peer_get_lm(struct ldp_peer *, 111 struct ldp_peer * 115 struct ldp_peer *p; in ldp_peer_new() 213 ldp_peer_holddown(struct ldp_peer * p) in ldp_peer_holddown() 233 struct ldp_peer *p; in ldp_peer_holddown_all() 245 ldp_peer_delete(struct ldp_peer * p) in ldp_peer_delete() 251 SLIST_REMOVE(&ldp_peer_head, p, ldp_peer, peers); in ldp_peer_delete() 259 struct ldp_peer * 262 struct ldp_peer *p; in get_ldp_peer() 279 struct ldp_peer * [all …]
|
H A D | tlv_stack.h | 42 int map_label(struct ldp_peer *, struct fec_tlv *, 44 int withdraw_label(struct ldp_peer *, struct fec_tlv *); 46 void send_label_tlv(const struct ldp_peer *, const struct sockaddr *, 49 void send_all_bindings(const struct ldp_peer *); 50 void send_withdraw_tlv(const struct ldp_peer *, const struct sockaddr *, 53 int request_respond(const struct ldp_peer *, const struct label_map_tlv *,
|
H A D | socketops.h | 51 void send_initialize(const struct ldp_peer *); 52 void keep_alive(const struct ldp_peer *); 53 void recv_session_pdu(struct ldp_peer *); 54 int send_message(const struct ldp_peer *, const struct ldp_pdu *, 56 int send_tlv(const struct ldp_peer *, const struct tlv *); 57 int send_addresses(const struct ldp_peer *);
|
H A D | label.h | 55 const struct ldp_peer *p; 61 const union sockunion *, uint32_t, const struct ldp_peer *, uint32_t, 64 void del_all_peer_labels(const struct ldp_peer*, int); 65 void label_reattach_all_peer_labels(const struct ldp_peer*, int); 73 void label_check_assoc(struct ldp_peer *p);
|
H A D | tlv_stack.c | 61 map_label(struct ldp_peer * p, struct fec_tlv * f, struct label_tlv * l) in map_label() 155 withdraw_label(struct ldp_peer * p, struct fec_tlv * f) in withdraw_label() 241 send_label_tlv(const struct ldp_peer * peer, const struct sockaddr * addr, in send_label_tlv() 323 struct ldp_peer *p; in send_label_tlv_to_all() 333 send_all_bindings(const struct ldp_peer * peer) in send_all_bindings() 345 send_withdraw_tlv(const struct ldp_peer * peer, const struct sockaddr * addr, in send_withdraw_tlv() 402 struct ldp_peer *p; in send_withdraw_tlv_to_all() 409 request_respond(const struct ldp_peer *p, const struct label_map_tlv *lmt, in request_respond()
|
H A D | mpls_interface.h | 39 int mpls_add_ldp_peer(const struct ldp_peer *); 40 int mpls_delete_ldp_peer(const struct ldp_peer *);
|
H A D | label.c | 92 const struct ldp_peer * p, uint32_t label, bool host) in label_add() 200 label_reattach_all_peer_labels(const struct ldp_peer *p, int readd) in label_reattach_all_peer_labels() 214 del_all_peer_labels(const struct ldp_peer * p, int readd) in del_all_peer_labels() 302 label_check_assoc(struct ldp_peer *p) in label_check_assoc()
|
H A D | mpls_interface.c | 162 mpls_add_ldp_peer(const struct ldp_peer * p) in mpls_add_ldp_peer() 168 mpls_delete_ldp_peer(const struct ldp_peer * p) in mpls_delete_ldp_peer()
|
H A D | socketops.c | 732 struct ldp_peer *p, *ptmp; in send_hello_alarm() 820 struct ldp_peer *p; in the_big_loop() 1062 send_initialize(const struct ldp_peer * p) in send_initialize() 1082 keep_alive(const struct ldp_peer * p) in keep_alive() 1097 recv_session_pdu(struct ldp_peer * p) in recv_session_pdu() 1341 send_message(const struct ldp_peer * p, const struct ldp_pdu * pdu, in send_message() 1390 send_tlv(const struct ldp_peer * p, const struct tlv * t) in send_tlv() 1408 send_addresses(const struct ldp_peer * p) in send_addresses()
|
H A D | pdu.h | 56 int check_recv_pdu(const struct ldp_peer *, const struct ldp_pdu *, int);
|
H A D | notifications.h | 96 int send_notification(const struct ldp_peer *, uint32_t, uint32_t);
|
H A D | Makefile | 13 ldp_peer.c \
|
H A D | notifications.c | 66 send_notification(const struct ldp_peer * p, uint32_t msg, uint32_t code) in send_notification()
|
H A D | pdu.c | 60 check_recv_pdu(const struct ldp_peer * p, const struct ldp_pdu * rpdu, int c) in check_recv_pdu()
|
H A D | ldp_command.c | 405 struct ldp_peer *p; in show_neighbours() 483 struct ldp_peer *p; in show_labels()
|
H A D | fsm.c | 58 struct ldp_peer *peer = NULL; in run_ldp_hello()
|
H A D | mpls_routes.c | 778 struct ldp_peer *p; in check_if_addr_updown()
|