Home
last modified time | relevance | path

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

/openbmc/qemu/include/net/
H A Dchecksum.h48 net_raw_checksum(uint8_t *data, int length) in net_raw_checksum() function
/openbmc/qemu/net/
H A Dchecksum.c113 csum = net_raw_checksum((uint8_t *)ip, IP_HDR_GET_LEN(ip)); in net_checksum_calculate()
H A Deth.c323 iphdr->ip_sum = cpu_to_be16(net_raw_checksum(l3hdr, l3hdr_len)); in eth_fix_ip4_checksum()
/openbmc/qemu/hw/net/
H A Dsungem.c310 csum = net_raw_checksum(s->tx_data + start, s->tx_size - start); in sungem_do_tx_csum()
650 csum = net_raw_checksum((uint8_t *)buf + coff, size - coff); in sungem_receive()
H A Dnet_tx_pkt.c100 csum = net_raw_checksum(pkt->l3_hdr.octets, in net_tx_pkt_update_ip_hdr_checksum()