diff options
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 70a5581a88..7429f5eade 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -320,6 +320,10 @@ enum zebra_if_flags { ZIF_FLAG_LACP_BYPASS = (1 << 5) }; +#define ZEBRA_IF_IS_PROTODOWN(zif) (zif->flags & ZIF_FLAG_PROTODOWN) +#define ZEBRA_IF_IS_PROTODOWN_ONLY_EXTERNAL(zif) \ + (zif->protodown_rc == ZEBRA_PROTODOWN_EXTERNAL) + /* `zebra' daemon local interface structure. */ struct zebra_if { /* back pointer to the interface */ |
