Home
last modified time | relevance | path

Searched refs:compute_ip_checksum (Results 1 – 9 of 9) sorted by relevance

/u-boot/net/
A Dping.c36 icmp->checksum = compute_ip_checksum(icmp, ICMP_HDR_SIZE); in set_icmp_header()
106 ip->ip_sum = compute_ip_checksum(ip, IP_HDR_SIZE); in ping_receive()
110 icmph->checksum = compute_ip_checksum(icmph, len - IP_HDR_SIZE); in ping_receive()
A Dnet.c1498 ip->ip_sum = compute_ip_checksum(ip, IP_HDR_SIZE); in net_set_ip_header()
/u-boot/lib/
A Dnet_utils.c61 uint compute_ip_checksum(const void *vptr, uint nbytes) in compute_ip_checksum() function
106 return !(compute_ip_checksum(addr, nbytes) & 0xfffe); in ip_checksum_ok()
/u-boot/arch/x86/lib/
A Dcoreboot_table.c95 cbh->table_checksum = compute_ip_checksum(cbr, cbh->table_bytes); in cb_table_finalize()
96 cbh->header_checksum = compute_ip_checksum(cbh, cbh->header_bytes); in cb_table_finalize()
A Dmrccache.c74 if (cache->checksum != compute_ip_checksum(cache->data, in mrccache_find_current()
199 checksum = compute_ip_checksum(mrc->buf, cache->data_size); in mrccache_setup()
/u-boot/drivers/net/
A Dsandbox.c153 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
157 icmpr->checksum = compute_ip_checksum(icmpr, ICMP_HDR_SIZE); in sandbox_eth_ping_req_to_reply()
239 ipr->ip_sum = compute_ip_checksum(ipr, IP_HDR_SIZE); in sandbox_eth_recv_ping_req()
248 icmpr->checksum = compute_ip_checksum(icmpr, ICMP_HDR_SIZE); in sandbox_eth_recv_ping_req()
/u-boot/arch/x86/cpu/ivybridge/
A Dsdram.c93 c1 = compute_ip_checksum((u8 *)&pei_data->scrambler_seed, in read_seed_from_cmos()
95 c2 = compute_ip_checksum((u8 *)&pei_data->scrambler_seed_s3, in read_seed_from_cmos()
159 c1 = compute_ip_checksum((u8 *)&pei_data->scrambler_seed, in write_seeds_to_cmos()
161 c2 = compute_ip_checksum((u8 *)&pei_data->scrambler_seed_s3, in write_seeds_to_cmos()
/u-boot/arch/x86/cpu/coreboot/
A Dtables.c144 if (compute_ip_checksum(ptr + sizeof(*header), header->table_bytes) != in cb_parse_header()
/u-boot/include/
A Dnet.h631 unsigned compute_ip_checksum(const void *addr, unsigned nbytes);

Completed in 14 milliseconds