Home | History | Annotate | Download | only in iputils

Lines Matching defs:icmph

1276 	struct icmp6_hdr icmph;
1282 iov.iov_base = &icmph;
1283 iov.iov_len = sizeof(icmph);
1320 if (res < sizeof(icmph) ||
1322 icmph.icmp6_type != ICMP6_ECHO_REQUEST ||
1323 !is_ours(icmph.icmp6_id)) {
1337 printf("From %s icmp_seq=%u ", pr_addr(&sin6->sin6_addr), ntohs(icmph.icmp6_seq));
1359 struct icmp6_hdr *icmph;
1362 icmph = (struct icmp6_hdr *)_icmph;
1363 icmph->icmp6_type = ICMP6_ECHO_REQUEST;
1364 icmph->icmp6_code = 0;
1365 icmph->icmp6_cksum = 0;
1366 icmph->icmp6_seq = htons(ntransmitted+1);
1367 icmph->icmp6_id = ident;
1440 struct icmp6_hdr *icmph = (struct icmp6_hdr *) _icmph;
1441 printf(" icmp_seq=%u", ntohs(icmph->icmp6_seq));
1592 struct icmp6_hdr *icmph;
1612 icmph = (struct icmp6_hdr *) buf;
1619 if (icmph->icmp6_type == ICMP6_ECHO_REPLY) {
1620 if (!is_ours(icmph->icmp6_id))
1622 if (gather_statistics((__u8*)icmph, sizeof(*icmph), cc,
1623 ntohs(icmph->icmp6_seq),
1627 } else if (icmph->icmp6_type == ICMPV6_NI_REPLY) {
1628 struct ni_hdr *nih = (struct ni_hdr *)icmph;
1632 if (gather_statistics((__u8*)icmph, sizeof(*icmph), cc,
1639 struct ip6_hdr *iph1 = (struct ip6_hdr*)(icmph+1);
1682 pr_icmph(icmph->icmp6_type, icmph->icmp6_code, ntohl(icmph->icmp6_mtu));