c53e673c2b54ce347bdf8d1688020dfcad2f4152
[metze/wireshark/wip.git] / wireshark-mime-package.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- $Id$ -->
3
4 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
5   <mime-type type="application/vnd.tcpdump.pcap">
6     <comment>Packet Capture (PCAP)</comment>
7     <generic-icon name="application-wireshark-doc"/>
8     <alias type="application/x-pcap"/>
9     <alias type="application/pcap"/>
10     <magic>
11       <!-- standard PCAP file -->
12       <match type="big32"    offset="0" value="0xa1b2c3d4"/>
13       <match type="little32" offset="0" value="0xa1b2c3d4"/>
14       <!-- extended (Alexey-Kuznetsov's-patches) PCAP file -->
15       <match type="big32"    offset="0" value="0xa1b2cd34"/>
16       <match type="little32" offset="0" value="0xa1b2cd34"/>
17     </magic>
18     <glob pattern="*.pcap"/>
19   </mime-type>
20
21   <mime-type type="application/x-pcapng">
22     <comment>Packet Capture (PCAPNG)</comment>
23     <generic-icon name="application-wireshark-doc"/>
24     <magic>
25       <match type="big32"      offset="0" value="0x0a0d0d0a">
26         <match type="big32"    offset="8" value="0x1a2b3c4d"/>
27       </match>
28       <match type="little32"   offset="0" value="0x0a0d0d0a">
29         <match type="little32" offset="8" value="0x1a2b3c4d"/>
30       </match>
31     </magic>
32     <glob pattern="*.pcapng"/>
33     <glob pattern="*.ntar"/>
34   </mime-type>
35
36   <mime-type type="application/x-snoop">
37     <comment>Packet Capture (Snoop)</comment>
38     <generic-icon name="application-wireshark-doc"/>
39     <magic>
40       <match type="string"      offset="0" value="snoop"/>
41     </magic>
42     <glob pattern="*.snoop"/>
43   </mime-type>
44 </mime-info>