Searched refs:pkt_checksum (Results 1 – 1 of 1) sorted by relevance
324 unsigned short pkt_checksum = 0; local351 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;393 *((unsigned short *) (pkt->data+20+iphdr)) = pkt_checksum;[all …]
Completed in 2 milliseconds