Home
last modified time | relevance | path

Searched refs:uh_sum (Results 1 – 5 of 5) sorted by relevance

/qemu/net/
H A Dchecksum.c168 stw_he_p(&udp->uh_sum, 0); in net_checksum_calculate()
175 stw_be_p(&udp->uh_sum, csum); in net_checksum_calculate()
/qemu/include/net/
H A Deth.h87 uint16_t uh_sum; /* udp checksum */ member
156 uint16_t uh_sum; /* udp checksum */ member
/qemu/hw/net/
H A Dnet_rx_pkt.c590 if (pkt->l4hdr_info.hdr.udp.uh_sum == 0) { in net_rx_pkt_validate_l4_csum()
628 if (pkt->l4hdr_info.hdr.udp.uh_sum == 0) { in net_rx_pkt_fix_l4_csum()
632 l4_cso = offsetof(struct udp_header, uh_sum); in net_rx_pkt_fix_l4_csum()
H A Dnet_tx_pkt.c380 pkt->virt_hdr.csum_offset = offsetof(struct udp_hdr, uh_sum); in net_tx_pkt_build_vheader()
H A Drtl8139.c2305 p_udp_hdr->uh_sum = 0; in rtl8139_cplus_transmit_one()
2311 p_udp_hdr->uh_sum = udp_checksum; in rtl8139_cplus_transmit_one()