3 * Copyright (C) James R. Leu 2002
6 * This software is covered under the LGPL, for more
7 * info check out http://www.gnu.org/copyleft/lgpl.html
10 #ifndef _MPLS_MPLS_IMPL_H_
11 #define _MPLS_MPLS_IMPL_H_
13 #include "mpls_struct.h"
22 extern mpls_bool
mpls_mpls_handle_verify(mpls_mpls_handle handle
);
26 * return: mpls_mpls_handle
28 extern mpls_mpls_handle
mpls_mpls_open(mpls_instance_handle handle
);
33 extern void mpls_mpls_close(mpls_mpls_handle handle
);
37 * return: mpls_return_enum
39 extern mpls_return_enum
mpls_mpls_outsegment_add(mpls_mpls_handle handle
,
40 struct mpls_outsegment
* o
);
45 extern void mpls_mpls_outsegment_del(mpls_mpls_handle handle
, struct mpls_outsegment
* o
);
49 * return: mpls_return_enum
51 extern mpls_return_enum
mpls_mpls_insegment_add(mpls_mpls_handle handle
,
52 struct mpls_insegment
* i
);
57 extern void mpls_mpls_insegment_del(mpls_mpls_handle handle
, struct mpls_insegment
* i
);
61 * return: mpls_return_enum
63 extern mpls_return_enum
mpls_mpls_xconnect_add(mpls_mpls_handle handle
,
64 struct mpls_insegment
* i
, struct mpls_outsegment
* o
);
69 extern void mpls_mpls_xconnect_del(mpls_mpls_handle handle
,
70 struct mpls_insegment
* i
, struct mpls_outsegment
* o
);
74 * return: mpls_return_enum
76 extern mpls_return_enum
mpls_mpls_fec2out_add(mpls_mpls_handle handle
,
77 mpls_fec
* f
, struct mpls_outsegment
* o
);
82 extern void mpls_mpls_fec2out_del(mpls_mpls_handle handle
,
83 mpls_fec
* f
, struct mpls_outsegment
* o
);
85 extern mpls_return_enum
mpls_mpls_get_label_space_range(mpls_mpls_handle handle
,