Searched refs:compute_ip_checksum (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/net/ |
D | ping.c | 32 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()
|
D | checksum.c | 13 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()
|
D | net.c | 1495 ip->ip_sum = compute_ip_checksum(ip, IP_HDR_SIZE); in net_set_udp_header()
|
/external/u-boot/arch/x86/cpu/ivybridge/ |
D | sdram.c | 89 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/ |
D | coreboot_table.c | 92 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()
|
D | mrccache.c | 68 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/ |
D | sandbox.c | 139 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/ |
D | tables.c | 135 if (compute_ip_checksum(ptr + sizeof(*header), header->table_bytes) != in cb_parse_header()
|
/external/u-boot/include/ |
D | net.h | 610 unsigned compute_ip_checksum(const void *addr, unsigned nbytes);
|