title: Wireshark Lua Dissector for IEEE 802.15.4 - DissectorTable name?
body: <p>I'm working on a wireshark dissector in lua to dissect a custom protocol that is based on 802.15.4. Unfortunately I cannot figure out the right DissectorTable name:</p>
  
  <pre><code>table = DissectorTable.get("wpan") -- wpan does not work
  table:add(0, myProto) -- I'm unsure about the first argument here
  </code></pre>
  
  <p>What dissector table name do I have to use to create the described dissector? and what goes as a first argument for the add function?</p>
  
  <p>Thanks in advance!</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I figured out that I have to do it this way:</p>
  
  <pre><code>table = DissectorTable.get("wtap_encap")
  table:add(104, myProto)
  </code></pre>
  
  <p>where 104 stands for 802.15.4.</p>
  
  <p>I found it by looking in wireshark -> internals -> dissector table</p>