PcapPacket pkt; ... boolean hasHdr = pkt.hasHeader(Tcp.ID)
Packets with ICMP header returns true for hasHdr.
Log in to post a comment.