diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-05-05 07:57:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-05 07:57:04 -0400 |
| commit | 3d4b999fab50a4f08d2c4257ec059218a90ed29f (patch) | |
| tree | 135eea80ddb75fb83ff291f43b7f1a87572cf5d6 /zebra/interface.h | |
| parent | 48c20391997a9809c710d4669a05f9eee8b5bff8 (diff) | |
| parent | dee1c6c3384ca9f22f2920263640f4c4dc9eb67c (diff) | |
Merge pull request #8237 from pguibert6WIND/nhrp_use_zebra_2
Nhrp use zebra 2
Diffstat (limited to 'zebra/interface.h')
| -rw-r--r-- | zebra/interface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index 24bc70cb9b..df4872d48e 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -263,6 +263,7 @@ typedef enum { ZEBRA_IF_VETH, /* VETH interface*/ ZEBRA_IF_BOND, /* Bond */ ZEBRA_IF_BOND_SLAVE, /* Bond */ + ZEBRA_IF_GRE, /* GRE interface */ } zebra_iftype_t; /* Zebra "slave" interface type */ @@ -442,6 +443,9 @@ DECLARE_HOOK(zebra_if_config_wr, (struct vty * vty, struct interface *ifp), #define IS_ZEBRA_IF_BOND(ifp) \ (((struct zebra_if *)(ifp->info))->zif_type == ZEBRA_IF_BOND) +#define IS_ZEBRA_IF_GRE(ifp) \ + (((struct zebra_if *)(ifp->info))->zif_type == ZEBRA_IF_GRE) + #define IS_ZEBRA_IF_BRIDGE_SLAVE(ifp) \ (((struct zebra_if *)(ifp->info))->zif_slave_type \ == ZEBRA_IF_SLAVE_BRIDGE) |
