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_INLABEL_H_
11 #define _LDP_INLABEL_H_
13 #include "ldp_struct.h"
15 extern void ldp_inlabel_delete(ldp_global
* g
, ldp_inlabel
* i
);
17 extern ldp_inlabel
*ldp_inlabel_create_complete(ldp_global
* g
, ldp_session
* s
,
19 extern void ldp_inlabel_delete_complete(ldp_global
* g
, ldp_inlabel
* in
,
20 ldp_session
* s
, ldp_attr
* a
);
22 extern mpls_return_enum
ldp_inlabel_add_outlabel(ldp_global
*g
,
23 ldp_inlabel
*i
, ldp_outlabel
*o
);
24 extern mpls_return_enum
ldp_inlabel_del_outlabel(ldp_global
*g
,
27 extern mpls_return_enum
_ldp_inlabel_add_session(ldp_inlabel
* i
,
29 extern void _ldp_inlabel_del_session(ldp_inlabel
* i
, ldp_session
* s
);
31 extern uint32_t _ldp_inlabel_get_next_index();
33 extern mpls_return_enum
_ldp_inlabel_add_attr(ldp_global
*g
, ldp_inlabel
* i
, ldp_attr
* a
);
34 extern void _ldp_inlabel_del_attr(ldp_global
*g
, ldp_inlabel
* i
, ldp_attr
* a
);