summaryrefslogtreecommitdiff
path: root/zebra/zebra_mpls.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-20 09:04:05 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-09-02 10:33:23 -0400
commita7d2146a41fa0f0f3929f43c25b186a7f43b1d84 (patch)
tree99c10c948e5e2fd780b192454c8a00d3e1666a3e /zebra/zebra_mpls.h
parent72de4110dc6ea8c7aff61e6ff2e19228c1272cda (diff)
zebra: Convert to `struct zebra_ile` as per our internal standard
We do not use typedef's to talk about structures as per our standard. Fixing. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_mpls.h')
-rw-r--r--zebra/zebra_mpls.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h
index 5195b2f14f..e1040a50aa 100644
--- a/zebra/zebra_mpls.h
+++ b/zebra/zebra_mpls.h
@@ -49,7 +49,6 @@ extern "C" {
/* Typedefs */
-typedef struct zebra_ile_t_ zebra_ile_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;
@@ -88,7 +87,7 @@ struct zebra_nhlfe_t_ {
/*
* Incoming label entry
*/
-struct zebra_ile_t_ {
+struct zebra_ile {
mpls_label_t in_label;
};
@@ -97,7 +96,7 @@ struct zebra_ile_t_ {
*/
struct zebra_lsp_t_ {
/* Incoming label */
- zebra_ile_t ile;
+ struct zebra_ile ile;
/* List of NHLFEs, pointer to best, and num equal-cost. */
struct nhlfe_list_head nhlfe_list;