Searched refs:icmp_targ (Results 1 – 1 of 1) sorted by relevance
282 struct icmphdr *icmp_targ = out[pos].iov_base; in icmp6_to_icmp() local286 memset(icmp_targ, 0, sizeof(struct icmphdr)); in icmp6_to_icmp()289 icmp_targ->type = icmp_type; in icmp6_to_icmp()290 icmp_targ->code = icmp6_to_icmp_code(icmp6->icmp6_type, icmp6->icmp6_code); in icmp6_to_icmp()301 icmp_targ->un.echo.id = icmp6->icmp6_id; in icmp6_to_icmp()302 icmp_targ->un.echo.sequence = icmp6->icmp6_seq; in icmp6_to_icmp()311 icmp_targ->checksum = 0; // Checksum field must be 0 when calculating checksum. in icmp6_to_icmp()312 icmp_targ->checksum = packet_checksum(0, out, pos); in icmp6_to_icmp()