Convertion to a ECMP capable infrastructure compiles (no testing
[mpls-ldp-portable.git] / ldp / ldp_nexthop.h
blob27e5e3c3c1156dcc5f148028c7f77004e2b90bbc
2 /*
3 * Copyright (C) James R. Leu 2003
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_NEXTHOP_H_
11 #define _LDP_NEXTHOP_H_
13 extern ldp_nexthop *ldp_nexthop_create();
14 extern ldp_nexthop *ldp_nexthop_for_fec_session(ldp_fec *fec, ldp_session *s);
15 extern void ldp_nexthop_delete(ldp_nexthop *nh);
16 extern void ldp_nexthop_add_if(ldp_nexthop * nh, ldp_if * i);
17 extern void ldp_nexthop_del_if(ldp_nexthop * nh);
18 extern void ldp_nexthop_add_addr(ldp_nexthop * nh, ldp_addr * a);
19 extern void ldp_nexthop_del_addr(ldp_nexthop * nh);
20 extern void ldp_nexthop_add_outlabel(ldp_nexthop * nh, ldp_outlabel * o);
21 extern void ldp_nexthop_del_outlabel(ldp_nexthop * nh);
22 extern void mpls_nexthop2ldp_nexthop(mpls_nexthop *mnh, ldp_nexthop *lnh);
25 #endif