Home
last modified time | relevance | path

Searched refs:calc_checksum (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/network/stress/ns-tools/
Dns-icmpv4_sender.c389 pkt.hdr.check = calc_checksum((u_int16_t *) (&pkt.hdr), in create_clean_packet()
391 icmp_p->hdr.checksum = calc_checksum((u_int16_t *) icmp_p, in create_clean_packet()
523 calc_checksum((u_int16_t *) & (pkt->hdr), sizeof(struct iphdr)); in thrust_fakes()
Dns-icmp_redirector.c416 sndip_p->hdr.check = calc_checksum((u_int16_t *) & (sndip_p->hdr), in return_icmp4_redirect()
433 sndicmp_p->hdr.checksum = calc_checksum((u_int16_t *) sndicmp_p, in return_icmp4_redirect()
557 sndna_p->defs.nd_na_cksum = calc_checksum((u_int16_t *) (&p_ip6), in return_neigh_adv()
659 sndrd_p->defs.nd_rd_cksum = calc_checksum((u_int16_t *) (&p_ip6), in return_icmp6_redirect()
Dns-traffic.h227 u_int16_t calc_checksum(u_int16_t *data, size_t size);
Dns-icmpv6_sender.c338 query_p->cksum = calc_checksum((u_int16_t *) (&pseudo), in create_mld_query()
402 echoreq_p->hdr.icmp6_cksum = calc_checksum((u_int16_t *) (&pseudo), in create_echo_request()
Dns-igmp_querier.c224 query->csum = calc_checksum((u_int16_t *) query, query_size); in create_query()
Dns-common.c146 u_int16_t calc_checksum(u_int16_t * data, size_t size) in calc_checksum() function
/external/u-boot/tools/
Difwitool.c1056 static uint8_t calc_checksum(struct subpart_dir *s) in calc_checksum() function
1089 uint8_t checksum = calc_checksum(s); in validate_subpart_dir()
1710 h->checksum = calc_checksum(buffer_get(&subpart_dir_buff)); in create_subpart()
2086 s->h.checksum = calc_checksum(s); in ifwi_dir_replace()