Searched refs:calc_checksum (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmpv4_sender.c | 389 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()
|
D | ns-icmp_redirector.c | 416 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()
|
D | ns-traffic.h | 227 u_int16_t calc_checksum(u_int16_t *data, size_t size);
|
D | ns-icmpv6_sender.c | 338 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()
|
D | ns-igmp_querier.c | 224 query->csum = calc_checksum((u_int16_t *) query, query_size); in create_query()
|
D | ns-common.c | 146 u_int16_t calc_checksum(u_int16_t * data, size_t size) in calc_checksum() function
|
/external/u-boot/tools/ |
D | ifwitool.c | 1056 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()
|