Various bug fixes to get basic label distribution working again
[mpls-ldp-portable.git] / ldp / ldp_hello.h
blobfbeb22e745e2862f76935b4f7833a2adb3f957f8
2 /*
3 * Copyright (C) James R. Leu 2000
4 * jleu@mindspring.com
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
8 */
10 #ifndef _LDP_HELLO_H_
11 #define _LDP_HELLO_H_
13 extern void ldp_hello_timeout_callback(mpls_timer_handle timer, void *extra,
14 mpls_cfg_handle g);
16 extern void ldp_hello_send_callback(mpls_timer_handle timer, void *extra,
17 mpls_cfg_handle g);
18 extern mpls_return_enum ldp_hello_send(ldp_global * g, ldp_entity * e);
20 extern ldp_mesg *ldp_hello_create(uint32_t msgid, int holdtime,
21 mpls_inet_addr * traddr, uint32_t confnum, int targeted, int request);
23 extern mpls_return_enum ldp_hello_process(ldp_global * g, ldp_adj * a,
24 ldp_entity *e, int hellotime, uint32_t csn, mpls_inet_addr * traddr,
25 int target, int request);
27 #endif