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