Skip to content

Instantly share code, notes, and snippets.

@sauerbraten
sauerbraten / enet.lua
Last active July 6, 2024 20:13
ENet Wireshark dissector. Place in ~/.local/lib/wireshark/plugins/.
-- Enet 1.3 Protocol Dissector For Wireshark
--
-- Cameron Gutman (aicommander@gmail.com)
-- fixes by Alexander Willing (willing.alexander@gmail.com)
-- Licensed under GPLv3
--
-- ENetProtocolHeader
enet_header_hassenttime = ProtoField.bool("enet.header.has_senttime", "Has Sent Time")
enet_header_compressed = ProtoField.bool("enet.header.is_compressed", "Compressed")