HomeSort by relevance Sort by last modified time
    Searched defs:icmph (Results 1 - 5 of 5) sorted by null

  /external/u-boot/net/
ping.c 84 struct icmp_hdr *icmph = (struct icmp_hdr *)&ip->udp_src; local
88 switch (icmph->type) {
107 icmph->type = ICMP_ECHO_REPLY;
108 icmph->checksum = 0;
109 icmph->checksum = compute_ip_checksum(icmph, len - IP_HDR_SIZE);
net.c 1028 struct icmp_hdr *icmph = (struct icmp_hdr *)&ip->udp_src; local
1030 switch (icmph->type) {
1032 if (icmph->code != ICMP_REDIR_HOST)
1035 &icmph->un.gateway);
1043 packet_icmp_handler(icmph->type, icmph->code,
1045 ntohs(ip->udp_src), icmph->un.data,
    [all...]
  /external/iputils/ninfod/
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);
  /external/iputils/
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));
    [all...]
ping6.c 1276 struct icmp6_hdr icmph; local
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)) {
1359 struct icmp6_hdr *icmph; local
1440 struct icmp6_hdr *icmph = (struct icmp6_hdr *) _icmph; local
1592 struct icmp6_hdr *icmph; local
    [all...]

Completed in 171 milliseconds