Searched refs:pkt_checksum (Results 1 – 1 of 1) sorted by relevance
324 unsigned short pkt_checksum = 0; local350 pkt_checksum = *((unsigned short *) (pkt->data+10+iphdr));351 if (pkt_checksum) {353 if (pkt_checksum == 0xFFFF) {354 pkt_checksum = 0;363 pkt_checksum = *((unsigned short *) (pkt->data+20+iphdr));365 if (pkt_checksum == 0xFFFF) {366 pkt_checksum = 0;374 pkt_checksum -= *((unsigned short *) (pkt->data+16)) ^ 0xFFFF;375 pkt_checksum -= *((unsigned short *) (pkt->data+18)) ^ 0xFFFF;[all …]