summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-09-16 15:58:34 -0400
committerMark Stapp <mjs@voltanet.io>2020-10-08 15:50:41 -0400
commit608a57c08b210307a000b44fd9060a51a222ab8a (patch)
treeba77c6af07b3512add9d5ef1e9577d04fce1dd01 /zebra/zebra_mpls.h
parent0405eff37ad6d7dde7b1976aa38d2088df4929a2 (diff)
zebra: remove 'static' lsp objects
Use the same lsp and nexthop/nhlfe objects for 'static' and dynamic LSPs; remove the 'static' objects and their supporting code. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_mpls.h')
-rw-r--r--zebra/zebra_mpls.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h
index c0e58c44e3..5167233040 100644
--- a/zebra/zebra_mpls.h
+++ b/zebra/zebra_mpls.h
@@ -50,37 +50,14 @@ extern "C" {
/* Typedefs */
typedef struct zebra_ile_t_ zebra_ile_t;
-typedef struct zebra_snhlfe_t_ zebra_snhlfe_t;
-typedef struct zebra_slsp_t_ zebra_slsp_t;
typedef struct zebra_nhlfe_t_ zebra_nhlfe_t;
typedef struct zebra_lsp_t_ zebra_lsp_t;
typedef struct zebra_fec_t_ zebra_fec_t;
/* Declare LSP nexthop list types */
-PREDECL_DLIST(snhlfe_list);
PREDECL_DLIST(nhlfe_list);
/*
- * (Outgoing) nexthop label forwarding entry configuration
- */
-struct zebra_snhlfe_t_ {
- /* Nexthop information */
- enum nexthop_types_t gtype;
- union g_addr gate;
- char *ifname;
- ifindex_t ifindex;
-
- /* Out label. */
- mpls_label_t out_label;
-
- /* Backpointer to base entry. */
- zebra_slsp_t *slsp;
-
- /* Linkage for LSPs' lists */
- struct snhlfe_list_item list;
-};
-
-/*
* (Outgoing) nexthop label forwarding entry
*/
struct zebra_nhlfe_t_ {
@@ -116,17 +93,6 @@ struct zebra_ile_t_ {
};
/*
- * Label swap entry static configuration.
- */
-struct zebra_slsp_t_ {
- /* Incoming label */
- zebra_ile_t ile;
-
- /* List of outgoing nexthop static configuration */
- struct snhlfe_list_head snhlfe_list;
-};
-
-/*
* Label swap entry (ile -> list of nhlfes)
*/
struct zebra_lsp_t_ {