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
13 extern ldp_fec
*ldp_fec_create(ldp_global
*g
, mpls_fec
*fec
);
14 extern void ldp_fec_delete(ldp_global
*g
, ldp_fec
* fec
);
15 extern ldp_fec
*ldp_fec_find(ldp_global
*g
, mpls_fec
*fec
);
16 extern ldp_fec
*ldp_fec_find2(ldp_global
*g
, mpls_fec
*fec
);
17 extern ldp_nexthop
*ldp_fec_nexthop_find(ldp_fec
*f
, mpls_nexthop
*n
);
18 extern mpls_return_enum
ldp_fec_find_nexthop_index(ldp_fec
*f
, int index
,
20 extern mpls_return_enum
ldp_fec_add_nexthop(ldp_global
*g
, ldp_fec
*f
,
22 extern void ldp_fec_del_nexthop(ldp_global
*g
, ldp_fec
*f
, ldp_nexthop
*n
);
24 extern mpls_return_enum
ldp_fec_process_add(ldp_global
* g
, ldp_fec
* f
,
25 ldp_nexthop
*nh
, ldp_session
*nh_session
);
26 extern mpls_return_enum
ldp_fec_process_change(ldp_global
* g
, ldp_fec
* f
,
27 ldp_nexthop
*nh
, ldp_nexthop
*nh_old
, ldp_session
* nh_session_old
);
29 extern mpls_bool
ldp_fec_empty(ldp_fec
*fec
);
30 extern void mpls_fec2ldp_fec(mpls_fec
* a
, ldp_fec
* b
);
31 extern void fec_tlv2mpls_fec(mplsLdpFecTlv_t
* tlv
, int num
, mpls_fec
* lf
);
32 extern void mpls_fec2fec_tlv(mpls_fec
* lf
, mplsLdpFecTlv_t
* tlv
, int num
);