Searched refs:uha_checksum (Results 1 – 7 of 7) sorted by relevance
58 udp_checksum = ntohs(U->uha_checksum);
206 uint16_t uha_checksum; /* UDP checksum */ member
434 tp_cksum = &((udpha_t *)tph)->uha_checksum; in ilb_full_nat()509 tp_cksum = &((udpha_t *)tph)->uha_checksum; in ilb_half_nat()
763 if (udpha->uha_checksum != 0) { in esp_fix_natt_checksums()765 sum += ~ntohs(udpha->uha_checksum) & 0xFFFF; in esp_fix_natt_checksums()768 udpha->uha_checksum = ~htons(sum); in esp_fix_natt_checksums()769 if (udpha->uha_checksum == 0) in esp_fix_natt_checksums()770 udpha->uha_checksum = 0xFFFF; in esp_fix_natt_checksums()2364 udpha->uha_checksum = 0; in ipsecesp_send_keepalive()2815 udpha->uha_checksum = 0; in esp_outbound()
1858 if (udpha->uha_checksum == 0) { in ip_input_cksum_v6()
2209 if (udpha->uha_checksum == 0) { in ip_input_cksum_v4()
2024 udpha->uha_checksum = 0; in udp_prepend_hdr()2051 udpha->uha_checksum = 0xffff; in udp_prepend_hdr()2053 udpha->uha_checksum = htons(cksum); in udp_prepend_hdr()2055 udpha->uha_checksum = 0; in udp_prepend_hdr()2062 udpha->uha_checksum = 0xffff; in udp_prepend_hdr()2064 udpha->uha_checksum = htons(cksum); in udp_prepend_hdr()2100 udpha->uha_checksum = 0; in udp_build_hdr_template()3267 udpha->uha_checksum = htons(cksum); in udp_prepend_header_template()3281 udpha->uha_checksum = htons(cksum); in udp_prepend_header_template()