Searched defs:icmph (Results 1 - 6 of 6) sorted by relevance

/external/iputils/ninfod/
H A Dninfod.c705 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);
/external/libppp/src/
H A Dip.c568 const struct icmp *icmph; local
623 len = datalen - sizeof *icmph;
624 icmph = (const struct icmp *)payload;
626 "ICMP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), icmph->icmp_type);
/external/iputils/
H A Dping.c613 struct icmphdr icmph; local
619 iov.iov_base = &icmph;
620 iov.iov_len = sizeof(icmph);
658 if (res < sizeof(icmph) ||
660 icmph.type != ICMP_ECHO ||
661 !is_ours(icmph.un.echo.id)) {
670 acknowledge(ntohs(icmph.un.echo.sequence));
696 printf("From %s: icmp_seq=%u ", pr_addr(sin->sin_addr.s_addr), ntohs(icmph.un.echo.sequence));
H A Dping_common.c865 int gather_statistics(__u8 *icmph, int icmplen, argument
868 void (*pr_reply)(__u8 *icmph, int cc))
872 __u8 *ptr = icmph + icmplen;
939 pr_reply(icmph, cc);
H A Dping6.c1275 struct icmp6_hdr icmph; local
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; local
1361 icmph = (struct icmp6_hdr *)_icmph;
1362 icmph
1439 struct icmp6_hdr *icmph = (struct icmp6_hdr *) _icmph; local
1591 struct icmp6_hdr *icmph; local
[all...]
/external/kernel-headers/original/linux/
H A Dskbuff.h244 struct icmphdr *icmph; member in union:sk_buff::__anon19580

Completed in 178 milliseconds