This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# convert DSView TXT dump of USB packet fields into valid PCAP file | |
import re | |
import sys | |
import struct | |
import os | |
from enum import IntEnum | |
class PCAP_Header(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- DM9601 dissector for Wireshark | |
-- | |
-- Usage: wireshark -X lua_script:dm9601.lua | |
-- | |
p_dm9601 = Proto("dm9601", "DM9601 USB Protocol") | |
p_dm9601_ethin = Proto("dm9601_ethin", "DM9601 USB Protocol Ethernet Input Stream") | |
p_dm9601_ethout = Proto("dm9601_ethout", "DM9601 USB Protocol Ethernet Output Stream") | |
p_dm9601_irq = Proto("dm9601_irq", "DM9601 USB Protocol Interrupts") | |
local operations = { |
OlderNewer