Updated label mapping to better support the new fec -> nh relationship
[mpls-ldp-portable.git] / ldp / ldp_keepalive.h
blob10c5da03e485dfd8e528cc3ac7ff21870ea24def
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_KEEPALIVE_H_
11 #define _LDP_KEEPALIVE_H_
13 #include "ldp_struct.h"
15 extern ldp_mesg *ldp_keepalive_create(uint32_t msgid);
16 extern mpls_return_enum ldp_keepalive_send(ldp_global * g, ldp_session * s);
17 extern void ldp_keepalive_send_callback(mpls_timer_handle timer, void *extra,
18 mpls_cfg_handle g);
19 extern void ldp_keepalive_timeout_callback(mpls_timer_handle timer, void *extra,
20 mpls_cfg_handle g);
21 extern void ldp_keepalive_set_message_id(ldp_mesg * keep, uint32_t msgid);
23 #endif