diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-08-30 13:20:04 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-02 10:33:23 -0400 | 
| commit | 60e3656140129e43853783096ea970fe57ae00be (patch) | |
| tree | 6f87616e3ece8c772073ea440aa66cc9815e88fa /zebra/zebra_mpls.h | |
| parent | 8f74a383b36052c2f595692d4d201352540d47c0 (diff) | |
zebra: Convert to `struct zebra_fec` 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.h | 10 | 
1 files changed, 3 insertions, 7 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h index a7e86e14c7..a8c4e1a60c 100644 --- a/zebra/zebra_mpls.h +++ b/zebra/zebra_mpls.h @@ -47,10 +47,6 @@ extern "C" {  		 ? AF_INET6                                                    \  		 : AF_INET) -/* Typedefs */ - -typedef struct zebra_fec_t_ zebra_fec_t; -  /* Declare LSP nexthop list types */  PREDECL_DLIST(nhlfe_list); @@ -123,7 +119,7 @@ struct zebra_lsp {  /*   * FEC to label binding.   */ -struct zebra_fec_t_ { +struct zebra_fec {  	/* FEC (prefix) */  	struct route_node *rn; @@ -221,8 +217,8 @@ int zebra_mpls_fec_unregister(struct zebra_vrf *zvrf, struct prefix *p,   * TODO: Currently walks entire table, can optimize later with another   * hash..   */ -zebra_fec_t *zebra_mpls_fec_for_label(struct zebra_vrf *zvrf, -				      mpls_label_t label); +struct zebra_fec *zebra_mpls_fec_for_label(struct zebra_vrf *zvrf, +					   mpls_label_t label);  /*   * Inform if specified label is currently bound to a FEC or not.  | 
