Searched refs:icmp6_cksum (Results 1 – 12 of 12) sorted by relevance
79 uint16_t icmp6_cksum; /* checksum field */ member181 #define mld6_cksum mld6_hdr.icmp6_cksum199 #define nd_rs_cksum nd_rs_hdr.icmp6_cksum211 #define nd_ra_cksum nd_ra_hdr.icmp6_cksum239 #define nd_ns_cksum nd_ns_hdr.icmp6_cksum250 #define nd_na_cksum nd_na_hdr.icmp6_cksum266 #define nd_rd_cksum nd_rd_hdr.icmp6_cksum382 #define ni_cksum icmp6_ni_hdr.icmp6_cksum430 #define rr_cksum rr_hdr.icmp6_cksum625 static int icmp6_cksum(netdissect_options *ndo, const struct ip6_hdr *ip6, in icmp6_cksum() function[all …]
13 #define ni_cksum ni_u.icmp6_cksum
1370 icmph->icmp6_cksum = 0; in build_echo()
42 #define ni_cksum icmp6_ni_hdr.icmp6_cksum
758 ntohs(icmph->icmp6_cksum)); in main()
12 __sum16 icmp6_cksum; member
61 u_int16_t icmp6_cksum; member
266 icmp6_targ->icmp6_cksum = 0; // Checksum field must be 0 when calculating checksum. in icmp_to_icmp6()267 icmp6_targ->icmp6_cksum = packet_checksum(checksum, out, pos); in icmp_to_icmp6()
127 printf("checksum = %x\n", icmp6->icmp6_cksum); in dump_icmp6()
385 echoreq_p->hdr.icmp6_cksum = 0; /* Calculate later */ in create_echo_request()402 echoreq_p->hdr.icmp6_cksum = calc_checksum((u_int16_t *) (&pseudo), in create_echo_request()
475 icmp_hdr->icmp6_cksum -= 0x0001; in send_icmp6_reply()