# Revision history [back]

### how to dissect a frame

Hi,

I'm trying to write a new dissector for an in-house protocol. This protocol is completely L2, there is no IP header. The frame will be dissected using a specific vlan.id, but I cannot find a way to do so... The following doesn't seem to be working:

Do i need to use another library than epan/packet.h??

 2 None grahamb 21919 ●4 ●377 ●221 https://www.wireshark.org

### how to dissect a frame

Hi,

I'm trying to write a new dissector for an in-house protocol. This protocol is completely L2, there is no IP header. The frame will be dissected using a specific vlan.id, but I cannot find a way to do so... The following doesn't seem to be working:

dissector_add_uint("vlan.id", xxx_vlan, xxx_handle);xxx_handle);


Do i need to use another library than epan/packet.h?? epan/packet.h??

 3 None Jaap 12644 ●283 ●111

### how to dissect a frame

Hi,

I'm trying to write a new dissector for an in-house protocol. This protocol is completely L2, there is no IP header. The frame will be dissected using a specific vlan.id, but I cannot find a way to do so... The following doesn't seem to be working:

dissector_add_uint("vlan.id", xxx_vlan, xxx_handle);


Do i need to use another library than epan/packet.h??

 4 None Jaap 12644 ●283 ●111

### how How to dissect a framean L2 frame, based on VLAN id

Hi,

I'm trying to write a new dissector for an in-house protocol. This protocol is completely L2, there is no IP header. The frame will be dissected using a specific vlan.id, but I cannot find a way to do so... The following doesn't seem to be working:

dissector_add_uint("vlan.id", xxx_vlan, xxx_handle);


Do i need to use another library than epan/packet.h??

 5 None Guy Harris 18775 ●3 ●280 ●206

### How to dissect an L2 frame, based on VLAN idid, no, Ethertype

Hi,

I'm trying to write a new dissector for an in-house protocol. This protocol is completely L2, there is no IP header. The frame will be dissected using a specific vlan.id, but I cannot find a way to do so... The following doesn't seem to be working:

dissector_add_uint("vlan.id", xxx_vlan, xxx_handle);


Do i need to use another library than epan/packet.h??

 6 None Guy Harris 18775 ●3 ●280 ●206

### How to dissect an L2 frame, based on VLAN id, no, Ethertype

Hi,

I'm trying to write a new dissector for an in-house protocol. This protocol is completely L2, there is no IP header. The frame will be dissected using a specific vlan.id, but I cannot find a way to do so... The following doesn't seem to be working:

dissector_add_uint("vlan.id", xxx_vlan, xxx_handle);


Do i need to use another library than epan/packet.h??