PCAPPARSE

Parses a packet captured using libpcap.

The parsing leaves on the stack a map containing the various elements which were correctly parsed.

For the time being, the elements which can be parsed are the PCap fields from the various headers and the following protocols: Ethernet, IPv4, ICMP, UDP, TCP. Please refer to the Fields.java source file to learn the various keys used in the result map.

Signature