3 * Copyright (C) James R. Leu 2000
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
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
,
19 extern void ldp_keepalive_timeout_callback(mpls_timer_handle timer
, void *extra
,
21 extern void ldp_keepalive_set_message_id(ldp_mesg
* keep
, uint32_t msgid
);