Lines Matching defs:icmp
541 struct icmp_hdr *icmp;
553 icmp = (struct icmp_hdr *)&ip->udp_src;
555 if (icmp->type != ICMP_ECHO_REPLY)
636 struct icmp6hdr *icmp = (struct icmp6hdr *)(ip6 + 1);
656 temp = icmp->icmp6_code;
657 icmp->icmp6_code = 15;
659 icmp->icmp6_code = temp;
670 struct icmp6hdr *icmp = (struct icmp6hdr *)(ip6 + 1);
671 struct ra_msg *msg = (struct ra_msg *)icmp;
680 temp = icmp->icmp6_rt_lifetime;
681 icmp->icmp6_rt_lifetime = 0;
683 icmp->icmp6_rt_lifetime = temp;