Home
last modified time | relevance | path

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

/external/u-boot/net/
Dping.c32 ip->ip_sum = compute_ip_checksum(ip, IP_HDR_SIZE); in set_icmp_header()
39 icmp->checksum = compute_ip_checksum(icmp, ICMP_HDR_SIZE); in set_icmp_header()
105 ip->ip_sum = compute_ip_checksum(ip, IP_HDR_SIZE); in ping_receive()
109 icmph->checksum = compute_ip_checksum(icmph, len - IP_HDR_SIZE); in ping_receive()
Dchecksum.c13 unsigned compute_ip_checksum(const void *vptr, unsigned nbytes) in compute_ip_checksum() function
58 return !(compute_ip_checksum(addr, nbytes) & 0xfffe); in ip_checksum_ok()
Dnet.c1495 ip->ip_sum = compute_ip_checksum(ip, IP_HDR_SIZE); in net_set_udp_header()
/external/u-boot/arch/x86/cpu/ivybridge/
Dsdram.c89 c1 = compute_ip_checksum((u8 *)&pei_data->scrambler_seed, in read_seed_from_cmos()
91 c2 = compute_ip_checksum((u8 *)&pei_data->scrambler_seed_s3, in read_seed_from_cmos()
155 c1 = compute_ip_checksum((u8 *)&pei_data->scrambler_seed, in write_seeds_to_cmos()
157 c2 = compute_ip_checksum((u8 *)&pei_data->scrambler_seed_s3, in write_seeds_to_cmos()
/external/u-boot/arch/x86/lib/
Dcoreboot_table.c92 cbh->table_checksum = compute_ip_checksum(cbr, cbh->table_bytes); in cb_table_finalize()
93 cbh->header_checksum = compute_ip_checksum(cbh, cbh->header_bytes); in cb_table_finalize()
Dmrccache.c68 if (cache->checksum != compute_ip_checksum(cache->data, in mrccache_find_current()
176 checksum = compute_ip_checksum(gd->arch.mrc_output, cache->data_size); in mrccache_reserve()
/external/u-boot/drivers/net/
Dsandbox.c139 ipr->ip_sum = compute_ip_checksum(ipr, in sb_eth_send()
144 icmpr->checksum = compute_ip_checksum(icmpr, in sb_eth_send()
/external/u-boot/arch/x86/cpu/coreboot/
Dtables.c135 if (compute_ip_checksum(ptr + sizeof(*header), header->table_bytes) != in cb_parse_header()
/external/u-boot/include/
Dnet.h610 unsigned compute_ip_checksum(const void *addr, unsigned nbytes);