You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I used pcpp (v24.09) to parse a RawPacket read from a CAIDA trace of link-type C_HDLC (Cisco HDLC), it failed to get any layer but recognized the whole packet as payload. Will pcpp add support for link-type C_HDLC and even more to packet parsing in the future?
I think the reason lies in the function Layer* Packet::createFirstLayer(LinkLayerType linkType) that is invoked when parsing a RawPacket. It only recognizes LINKTYPE_ETHERNET, LINKTYPE_LINUX_SLL, LINKTYPE_LINUX_SLL2, LINKTYPE_NULL, LINKTYPE_RAW, LINKTYPE_DLT_RAW1, LINKTYPE_DLT_RAW2, LINKTYPE_IPV4, LINKTYPE_IPV6, LINKTYPE_NFLOG so far. Besides, the current document does not seem to mention supported link types in packet parsing (or not in a obvious place).
Operating systems
Linux
The text was updated successfully, but these errors were encountered:
Question
Hi, when I used pcpp (v24.09) to parse a RawPacket read from a CAIDA trace of link-type C_HDLC (Cisco HDLC), it failed to get any layer but recognized the whole packet as payload. Will pcpp add support for link-type C_HDLC and even more to packet parsing in the future?
I think the reason lies in the function Layer* Packet::createFirstLayer(LinkLayerType linkType) that is invoked when parsing a RawPacket. It only recognizes
LINKTYPE_ETHERNET, LINKTYPE_LINUX_SLL, LINKTYPE_LINUX_SLL2, LINKTYPE_NULL, LINKTYPE_RAW, LINKTYPE_DLT_RAW1, LINKTYPE_DLT_RAW2, LINKTYPE_IPV4, LINKTYPE_IPV6, LINKTYPE_NFLOG
so far. Besides, the current document does not seem to mention supported link types in packet parsing (or not in a obvious place).Operating systems
Linux
The text was updated successfully, but these errors were encountered: