diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-10-13 15:51:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-13 15:51:18 -0400 |
| commit | 82b4a8bf2c89c3854ab65f139a5434bea98add69 (patch) | |
| tree | e64b536eca52221a71be7e015f52026486edfe13 /zebra/zebra_mpls.h | |
| parent | 5875867dba241b60349a3e8c7811e27886d452f2 (diff) | |
| parent | 608a57c08b210307a000b44fd9060a51a222ab8a (diff) | |
Merge pull request #7258 from mjstapp/zebra_remove_slsp
zebra: remove 'static' lsp objects
Diffstat (limited to 'zebra/zebra_mpls.h')
| -rw-r--r-- | zebra/zebra_mpls.h | 34 |
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_ { |
