Home
last modified time | relevance | path

Searched refs:netPacket (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/network/sockets/
DltpClient.c70 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() argument
415 unsigned short *packetPtr = netPacket, result; in checksum()
439 void output_to_display(void *netPacket, int bytes, int pid) in output_to_display() argument
443 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()