in reply to Re^2: Invalid ICMP type 69
in thread Invalid ICMP type 69

The first 20 bytes are the IP header.

You should be able to use NetPacket::IP to analyze the whole packet, and extract the ICMP payload using

$icmp_data = NetPacket::IP::strip($raw_pkt);

For details on constructing/analyzing ICMP packets, see http://www.goldfish.org/books/TCPIP Illustrated Vol 1/icmp_int.htm .

     "A closed mouth gathers no feet." --Unknown