Searched refs:icmph (Results 1 - 4 of 4) sorted by relevance
/external/iputils/ |
H A D | ping6.c | 1278 struct icmp6_hdr icmph; local 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; local 1364 icmph = (struct icmp6_hdr *)_icmph; 1365 icmph 1442 struct icmp6_hdr *icmph = (struct icmp6_hdr *) _icmph; local 1594 struct icmp6_hdr *icmph; local [all...] |
H A D | ping.c | 616 struct icmphdr icmph; local 622 iov.iov_base = &icmph; 623 iov.iov_len = sizeof(icmph); 661 if (res < sizeof(icmph) || 663 icmph.type != ICMP_ECHO || 664 !is_ours(icmph.un.echo.id)) { 673 acknowledge(ntohs(icmph.un.echo.sequence)); 699 printf("From %s: icmp_seq=%u ", pr_addr(sin->sin_addr.s_addr), ntohs(icmph.un.echo.sequence));
|
H A D | ping_common.c | 870 int gather_statistics(__u8 *icmph, int icmplen, argument 873 void (*pr_reply)(__u8 *icmph, int cc)) 877 __u8 *ptr = icmph + icmplen; 944 pr_reply(icmph, cc);
|
/external/iputils/ninfod/ |
H A D | ninfod.c | 705 struct icmp6_hdr *icmph; local 753 icmph = (struct icmp6_hdr *)p->query; 757 icmph->icmp6_type, icmph->icmp6_code, 758 ntohs(icmph->icmp6_cksum)); 760 if (icmph->icmp6_type != ICMP6_NI_QUERY) { 763 icmph->icmp6_type, saddrbuf);
|
Completed in 90 milliseconds