Searched refs:net_checksum_add (Results 1 – 7 of 7) sorted by relevance
/openbmc/qemu/include/net/ |
H A D | checksum.h | 36 net_checksum_add(int len, uint8_t *buf) in net_checksum_add() function 50 return net_checksum_finish(net_checksum_add(length, data)); in net_raw_checksum()
|
/openbmc/qemu/net/ |
H A D | checksum.c | 54 sum += net_checksum_add(length, buf); // payload in net_checksum_tcpudp() 55 sum += net_checksum_add(8, addrs); // src + dst address in net_checksum_tcpudp()
|
H A D | eth.c | 338 return net_checksum_add(*cso, (uint8_t *) &ipph); in eth_calc_ip4_pseudo_hdr_csum() 356 return net_checksum_add(*cso, (uint8_t *)&ipph); in eth_calc_ip6_pseudo_hdr_csum()
|
/openbmc/qemu/hw/net/ |
H A D | sunhme.c | 605 sum += net_checksum_add(xmit_pos - csum_offset, in sunhme_transmit() 609 sum += net_checksum_add(len, xmit_buffer + xmit_pos - len); in sunhme_transmit() 811 sum += net_checksum_add(len - csum_offset, (uint8_t *)buf + csum_offset); in sunhme_receive()
|
H A D | xilinx_axienet.c | 819 csum32 = net_checksum_add(size - 14, (uint8_t *)s->rxmem + 14); in eth_rx() 921 tmp_csum = net_checksum_add(s->txpos - start_off, in xilinx_axienet_data_stream_push()
|
H A D | e1000.c | 542 sum = net_checksum_add(n-css, data+css); in putsum()
|
H A D | vmxnet3.c | 881 net_checksum_finish_nozero(net_checksum_add(len, data))); in vmxnet3_rx_need_csum_calculate()
|