aboutsummaryrefslogtreecommitdiffstats
path: root/extras/packetforge/InputFormat.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/packetforge/InputFormat.py')
-rw-r--r--extras/packetforge/InputFormat.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/extras/packetforge/InputFormat.py b/extras/packetforge/InputFormat.py
new file mode 100644
index 00000000000..dfba1676934
--- /dev/null
+++ b/extras/packetforge/InputFormat.py
@@ -0,0 +1,12 @@
+import enum
+
+
+class InputFormat(enum.Enum):
+ mac = 0
+ ipv4 = 1
+ ipv6 = 2
+ u8 = 3
+ u16 = 4
+ u32 = 5
+ u64 = 6
+ bytearray = 7