Searched refs:icmp6_targ (Results 1 – 1 of 1) sorted by relevance
229 struct icmp6_hdr *icmp6_targ = out[pos].iov_base; in icmp_to_icmp6() local233 memset(icmp6_targ, 0, sizeof(struct icmp6_hdr)); in icmp_to_icmp6()236 icmp6_targ->icmp6_type = icmp6_type; in icmp_to_icmp6()237 icmp6_targ->icmp6_code = icmp_to_icmp6_code(icmp->type, icmp->code); in icmp_to_icmp6()257 icmp6_targ->icmp6_id = icmp->un.echo.id; in icmp_to_icmp6()258 icmp6_targ->icmp6_seq = icmp->un.echo.sequence; in icmp_to_icmp6()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()