aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi_typestruct.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ndpi_typestruct.py')
-rw-r--r--python/ndpi_typestruct.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/ndpi_typestruct.py b/python/ndpi_typestruct.py
index 9413ca039..a0bdcee84 100644
--- a/python/ndpi_typestruct.py
+++ b/python/ndpi_typestruct.py
@@ -507,6 +507,15 @@ class Http2(Structure):
("nat_ip", c_char * 24)
]
+class FtpImapPopSmtp(Structure):
+ _fields_ = [
+ ("auth_found", c_uint8, 1),
+ ("auth_failed", c_uint8, 1),
+ ("auth_tls", c_uint8, 1),
+ ("_pad", c_uint8, 5),
+ ("username", c_char * 16),
+ ("password", c_char * 16)
+ ]
class Bittorrent(Structure):
_fields_ = [("hash", c_char * 20)]
@@ -529,6 +538,7 @@ class Protos(Union):
("mdns", Mdns),
("ubntac2", Ubntac2),
("http", Http2),
+ ("ftp_imap_pop_smtp", FtpImapPopSmtp),
("bittorrent", Bittorrent),
("dhcp", Dhcp)
]