Searched refs:udpchksum (Results 1 – 1 of 1) sorted by relevance
860 u16_t udpchksum; in udp_sendto_if_src_chksum() local864 udpchksum = ip_chksum_pseudo_partial(q, IP_PROTO_UDP, in udp_sendto_if_src_chksum()866 acc = udpchksum + (u16_t)~(chksum); in udp_sendto_if_src_chksum()867 udpchksum = FOLD_U32T(acc); in udp_sendto_if_src_chksum()871 udpchksum = ip_chksum_pseudo(q, IP_PROTO_UDP, q->tot_len, in udp_sendto_if_src_chksum()876 if (udpchksum == 0x0000) { in udp_sendto_if_src_chksum()877 udpchksum = 0xffff; in udp_sendto_if_src_chksum()879 udphdr->chksum = udpchksum; in udp_sendto_if_src_chksum()