X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Finterface.h;h=9be387090201126fdc1d26bb019f43435bacbd6a;hb=b3a9381ad54ea30bf872cf781023e353a89ebaa6;hp=5c15d29f4531b15f7dbe9384f0822f7961660b7d;hpb=0c2319fe2b520776a5d947def4be30b8517896b2;p=vpp.git diff --git a/src/vnet/interface.h b/src/vnet/interface.h index 5c15d29f453..9be38709020 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -484,6 +484,7 @@ __VA_ARGS__ vnet_hw_interface_class_t x typedef enum vnet_hw_interface_flags_t_ { + VNET_HW_INTERFACE_FLAG_NONE, /* Hardware link state is up. */ VNET_HW_INTERFACE_FLAG_LINK_UP = (1 << 0), /* Hardware duplex state */ @@ -692,7 +693,7 @@ extern vnet_mtu_t vnet_link_to_mtu (vnet_link_t link); typedef enum vnet_sw_interface_flags_t_ { - VNET_SW_INTERFACE_FLAG_ADMIN_NONE = 0, + VNET_SW_INTERFACE_FLAG_NONE = 0, /* Interface is "up" meaning administratively up. Up in the sense of link state being up is maintained by hardware interface. */ VNET_SW_INTERFACE_FLAG_ADMIN_UP = (1 << 0),