Searched refs:net_raw_checksum (Results 1 – 5 of 5) sorted by relevance
48 net_raw_checksum(uint8_t *data, int length) in net_raw_checksum() function
113 csum = net_raw_checksum((uint8_t *)ip, IP_HDR_GET_LEN(ip)); in net_checksum_calculate()
323 iphdr->ip_sum = cpu_to_be16(net_raw_checksum(l3hdr, l3hdr_len)); in eth_fix_ip4_checksum()
310 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()
100 csum = net_raw_checksum(pkt->l3_hdr.octets, in net_tx_pkt_update_ip_hdr_checksum()