Home
last modified time | relevance | path

Searched refs:calc_checksum (Results 1 – 6 of 6) 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