Searched refs:netPacket (Results 1 – 1 of 1) sorted by relevance
70 void output_to_display(void *netPacket, int bytes, int pid);71 unsigned short checksum(void *netPacket, int len);412 unsigned short checksum(void *netPacket, int len) in checksum() argument415 unsigned short *packetPtr = netPacket, result; in checksum()439 void output_to_display(void *netPacket, int bytes, int pid) in output_to_display() argument443 struct iphdr *ip = netPacket; in output_to_display()444 struct icmphdr *icmpPtr = netPacket + ip->ihl * 4; in output_to_display()455 printf("[%d] ", ((unsigned char *)netPacket)[i]); in output_to_display()