summaryrefslogtreecommitdiff
path: root/zebra/zebra_fpm.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-20 08:58:24 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-09-02 10:33:22 -0400
commit05843a27f5cf0f8708c7009fa96884b0d4b94b3f (patch)
tree761fc6c1220769865bae411ad1d282eecc32077f /zebra/zebra_fpm.c
parent847f168d76f15a8b9596e472e82af574823d8007 (diff)
zebra: Convert to `struct zebra_l3nvi` 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_fpm.c')
-rw-r--r--zebra/zebra_fpm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_fpm.c b/zebra/zebra_fpm.c
index bc0a8da434..64366d6f4f 100644
--- a/zebra/zebra_fpm.c
+++ b/zebra/zebra_fpm.c
@@ -1554,7 +1554,7 @@ static void zfpm_mac_info_del(struct fpm_mac_info_t *fpm_mac)
* If yes, update the same fpm_mac_info_t. Else, create and enqueue an update.
*/
static int zfpm_trigger_rmac_update(struct zebra_mac *rmac,
- zebra_l3vni_t *zl3vni, bool delete,
+ struct zebra_l3vni *zl3vni, bool delete,
const char *reason)
{
struct fpm_mac_info_t *fpm_mac, key;
@@ -1639,7 +1639,7 @@ static void zfpm_trigger_rmac_update_wrapper(struct hash_bucket *bucket,
void *args)
{
struct zebra_mac *zrmac = (struct zebra_mac *)bucket->data;
- zebra_l3vni_t *zl3vni = (zebra_l3vni_t *)args;
+ struct zebra_l3vni *zl3vni = (struct zebra_l3vni *)args;
zfpm_trigger_rmac_update(zrmac, zl3vni, false, "RMAC added");
}
@@ -1651,7 +1651,7 @@ static void zfpm_trigger_rmac_update_wrapper(struct hash_bucket *bucket,
*/
static void zfpm_iterate_rmac_table(struct hash_bucket *bucket, void *args)
{
- zebra_l3vni_t *zl3vni = (zebra_l3vni_t *)bucket->data;
+ struct zebra_l3vni *zl3vni = (struct zebra_l3vni *)bucket->data;
hash_iterate(zl3vni->rmac_table, zfpm_trigger_rmac_update_wrapper,
(void *)zl3vni);