Searched refs:icmp6_cksum (Results 1 – 11 of 11) sorted by relevance
75 u_int16_t icmp6_cksum; /* checksum field */ member177 #define mld6_cksum mld6_hdr.icmp6_cksum195 #define nd_rs_cksum nd_rs_hdr.icmp6_cksum207 #define nd_ra_cksum nd_ra_hdr.icmp6_cksum235 #define nd_ns_cksum nd_ns_hdr.icmp6_cksum246 #define nd_na_cksum nd_na_hdr.icmp6_cksum262 #define nd_rd_cksum nd_rd_hdr.icmp6_cksum378 #define ni_cksum icmp6_ni_hdr.icmp6_cksum426 #define rr_cksum rr_hdr.icmp6_cksum
198 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, in icmp6_cksum() function320 TCHECK(dp->icmp6_cksum); in icmp6_print()326 udp_sum = EXTRACT_16BITS(&dp->icmp6_cksum); in icmp6_print()327 sum = icmp6_cksum(ip, dp, length); in icmp6_print()
13 #define ni_cksum ni_u.icmp6_cksum
1367 icmph->icmp6_cksum = 0; in build_echo()
42 #define ni_cksum icmp6_ni_hdr.icmp6_cksum
758 ntohs(icmph->icmp6_cksum)); in main()
11 __sum16 icmp6_cksum; member
103 #define nd_rd_cksum nd_rd_hdr.icmp6_cksum
61 u_int16_t icmp6_cksum; member
267 icmp6_targ->icmp6_cksum = 0; // Checksum field must be 0 when calculating checksum. in icmp_to_icmp6()268 icmp6_targ->icmp6_cksum = packet_checksum(checksum, out, pos); in icmp_to_icmp6()
124 printf("checksum = %x\n",icmp6->icmp6_cksum); in dump_icmp6()