X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fl2%2Fl2_input.h;fp=src%2Fvnet%2Fl2%2Fl2_input.h;h=ea9dcad63e5f06141d3c00e42929d4a6b289ac4c;hb=78cfeb43223fa572babd7f465f04528f4ca6cdb9;hp=23bb9b6e2f12d798678bc2306b6982a2149459c4;hpb=571ab20d1da227fb66d52ed52cce0cbd4591e1c9;p=vpp.git diff --git a/src/vnet/l2/l2_input.h b/src/vnet/l2/l2_input.h index 23bb9b6e2f1..ea9dcad63e5 100644 --- a/src/vnet/l2/l2_input.h +++ b/src/vnet/l2/l2_input.h @@ -35,6 +35,12 @@ typedef struct u32 output_sw_if_index; /* for xconnect */ }; + /* config for which input features are configured on this interface */ + u32 feature_bitmap; + + /* split horizon group */ + u8 shg; + /* Interface mode. If both are 0, this interface is in L3 mode */ u8 xconnect; u8 bridge; @@ -42,17 +48,6 @@ typedef struct /* this is the bvi interface for the bridge-domain */ u8 bvi; - /* config for which input features are configured on this interface */ - u32 feature_bitmap; - - /* some of these flags are also in the feature bitmap */ - u8 learn_enable; - u8 fwd_enable; - u8 flood_enable; - - /* split horizon group */ - u8 shg; - } l2_input_config_t;