Searched refs:udp_targ (Results 1 – 1 of 1) sorted by relevance
406 struct udphdr *udp_targ = out[pos].iov_base; in udp_translate() local408 memcpy(udp_targ, udp, sizeof(struct udphdr)); in udp_translate()414 if (udp_targ->check) { in udp_translate()415 udp_targ->check = ip_checksum_adjust(udp->check, old_sum, new_sum); in udp_translate()421 udp_targ->check = 0; // Checksum field must be 0 when calculating checksum. in udp_translate()422 udp_targ->check = packet_checksum(new_sum, out, pos); in udp_translate()427 if (!udp_targ->check) { in udp_translate()428 udp_targ->check = 0xffff; in udp_translate()