summaryrefslogtreecommitdiff
path: root/trafgen_l2.h
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_l2.h')
-rw-r--r--trafgen_l2.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/trafgen_l2.h b/trafgen_l2.h
index 7c8ef7d..dd1d947 100644
--- a/trafgen_l2.h
+++ b/trafgen_l2.h
@@ -12,6 +12,27 @@ enum pause_field {
PAUSE_TIME,
};
+enum pfc_field {
+ PFC_OPCODE,
+ PFC_PRIO,
+ PFC_PRIO_0,
+ PFC_PRIO_1,
+ PFC_PRIO_2,
+ PFC_PRIO_3,
+ PFC_PRIO_4,
+ PFC_PRIO_5,
+ PFC_PRIO_6,
+ PFC_PRIO_7,
+ PFC_TIME_0,
+ PFC_TIME_1,
+ PFC_TIME_2,
+ PFC_TIME_3,
+ PFC_TIME_4,
+ PFC_TIME_5,
+ PFC_TIME_6,
+ PFC_TIME_7,
+};
+
enum arp_field {
ARP_HTYPE,
ARP_PTYPE,