Lines Matching defs:icmph
1275 struct icmp6_hdr icmph;
1281 iov.iov_base = &icmph;
1282 iov.iov_len = sizeof(icmph);
1319 if (res < sizeof(icmph) ||
1321 icmph.icmp6_type != ICMP6_ECHO_REQUEST ||
1322 !is_ours(icmph.icmp6_id)) {
1336 printf("From %s icmp_seq=%u ", pr_addr(&sin6->sin6_addr), ntohs(icmph.icmp6_seq));
1358 struct icmp6_hdr *icmph;
1361 icmph = (struct icmp6_hdr *)_icmph;
1362 icmph->icmp6_type = ICMP6_ECHO_REQUEST;
1363 icmph->icmp6_code = 0;
1364 icmph->icmp6_cksum = 0;
1365 icmph->icmp6_seq = htons(ntransmitted+1);
1366 icmph->icmp6_id = ident;
1439 struct icmp6_hdr *icmph = (struct icmp6_hdr *) _icmph;
1440 printf(" icmp_seq=%u", ntohs(icmph->icmp6_seq));
1591 struct icmp6_hdr *icmph;
1611 icmph = (struct icmp6_hdr *) buf;
1618 if (icmph->icmp6_type == ICMP6_ECHO_REPLY) {
1619 if (!is_ours(icmph->icmp6_id))
1621 if (gather_statistics((__u8*)icmph, sizeof(*icmph), cc,
1622 ntohs(icmph->icmp6_seq),
1626 } else if (icmph->icmp6_type == ICMPV6_NI_REPLY) {
1627 struct ni_hdr *nih = (struct ni_hdr *)icmph;
1631 if (gather_statistics((__u8*)icmph, sizeof(*icmph), cc,
1638 struct ip6_hdr *iph1 = (struct ip6_hdr*)(icmph+1);
1681 pr_icmph(icmph->icmp6_type, icmph->icmp6_code, ntohl(icmph->icmp6_mtu));