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