net: bridge: mrp: Update the Test frames for MRA
[linux-2.6-microblaze.git] / net / bridge / br_private_mrp.h
index 9559aa2..bda8e18 100644 (file)
@@ -6,6 +6,8 @@
 #include "br_private.h"
 #include <uapi/linux/mrp_bridge.h>
 
+#define MRP_OPT_PADDING                0x2
+
 struct br_mrp {
        /* list of mrp instances */
        struct hlist_node               list;
@@ -134,4 +136,13 @@ struct br_mrp_in_test_hdr {
        __be32 timestamp;
 } __attribute__((__packed__));
 
+struct br_mrp_oui_hdr {
+       __u8 oui[MRP_OUI_LENGTH];
+};
+
+struct br_mrp_sub_option1_hdr {
+       __u8 type;
+       __u8 data[MRP_MANUFACTURE_DATA_LENGTH];
+};
+
 #endif /* _BR_PRIVATE_MRP_H */