Home | History | Annotate | Download | only in iputils

Lines Matching refs:icmph

1278 	struct icmp6_hdr icmph;
1284 iov.iov_base = &icmph;
1285 iov.iov_len = sizeof(icmph);
1322 if (res < sizeof(icmph) ||
1324 icmph.icmp6_type != ICMP6_ECHO_REQUEST ||
1325 !is_ours(icmph.icmp6_id)) {
1339 printf("From %s icmp_seq=%u ", pr_addr(&sin6->sin6_addr), ntohs(icmph.icmp6_seq));
1361 struct icmp6_hdr *icmph;
1364 icmph = (struct icmp6_hdr *)_icmph;
1365 icmph->icmp6_type = ICMP6_ECHO_REQUEST;
1366 icmph->icmp6_code = 0;
1367 icmph->icmp6_cksum = 0;
1368 icmph->icmp6_seq = htons(ntransmitted+1);
1369 icmph->icmp6_id = ident;
1442 struct icmp6_hdr *icmph = (struct icmp6_hdr *) _icmph;
1443 printf(" icmp_seq=%u", ntohs(icmph->icmp6_seq));
1594 struct icmp6_hdr *icmph;
1614 icmph = (struct icmp6_hdr *) buf;
1621 if (icmph->icmp6_type == ICMP6_ECHO_REPLY) {
1622 if (!is_ours(icmph->icmp6_id))
1624 if (gather_statistics((__u8*)icmph, sizeof(*icmph), cc,
1625 ntohs(icmph->icmp6_seq),
1629 } else if (icmph->icmp6_type == ICMPV6_NI_REPLY) {
1630 struct ni_hdr *nih = (struct ni_hdr *)icmph;
1634 if (gather_statistics((__u8*)icmph, sizeof(*icmph), cc,
1641 struct ip6_hdr *iph1 = (struct ip6_hdr*)(icmph+1);
1684 pr_icmph(icmph->icmp6_type, icmph->icmp6_code, ntohl(icmph->icmp6_mtu));