Home
last modified time | relevance | path

Searched refs:ldp_peer (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/usr.sbin/ldpd/
H A Dldp_peer.h55 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 Dldp_peer.c60 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 Dtlv_stack.h42 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 Dsocketops.h51 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 Dlabel.h55 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 Dtlv_stack.c61 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 Dmpls_interface.h39 int mpls_add_ldp_peer(const struct ldp_peer *);
40 int mpls_delete_ldp_peer(const struct ldp_peer *);
H A Dlabel.c92 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 Dmpls_interface.c162 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 Dsocketops.c732 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 Dpdu.h56 int check_recv_pdu(const struct ldp_peer *, const struct ldp_pdu *, int);
H A Dnotifications.h96 int send_notification(const struct ldp_peer *, uint32_t, uint32_t);
H A DMakefile13 ldp_peer.c \
H A Dnotifications.c66 send_notification(const struct ldp_peer * p, uint32_t msg, uint32_t code) in send_notification()
H A Dpdu.c60 check_recv_pdu(const struct ldp_peer * p, const struct ldp_pdu * rpdu, int c) in check_recv_pdu()
H A Dldp_command.c405 struct ldp_peer *p; in show_neighbours()
483 struct ldp_peer *p; in show_labels()
H A Dfsm.c58 struct ldp_peer *peer = NULL; in run_ldp_hello()
H A Dmpls_routes.c778 struct ldp_peer *p; in check_if_addr_updown()