HomeSort by relevance Sort by last modified time
    Searched refs:icmp (Results 51 - 75 of 145) sorted by null

1 23 4 5 6

  /prebuilts/ndk/current/platforms/android-24/arch-arm/usr/include/linux/netfilter/
nf_conntrack_tuple_common.h 40 } icmp; member in union:nf_conntrack_man_proto
  /prebuilts/ndk/current/platforms/android-24/arch-arm64/usr/include/linux/netfilter/
nf_conntrack_tuple_common.h 40 } icmp; member in union:nf_conntrack_man_proto
  /prebuilts/ndk/current/platforms/android-24/arch-mips/usr/include/linux/netfilter/
nf_conntrack_tuple_common.h 40 } icmp; member in union:nf_conntrack_man_proto
  /prebuilts/ndk/current/platforms/android-24/arch-mips64/usr/include/linux/netfilter/
nf_conntrack_tuple_common.h 40 } icmp; member in union:nf_conntrack_man_proto
  /prebuilts/ndk/current/platforms/android-24/arch-x86/usr/include/linux/netfilter/
nf_conntrack_tuple_common.h 40 } icmp; member in union:nf_conntrack_man_proto
  /prebuilts/ndk/current/platforms/android-24/arch-x86_64/usr/include/linux/netfilter/
nf_conntrack_tuple_common.h 40 } icmp; member in union:nf_conntrack_man_proto
  /external/iptables/include/libiptc/
ipt_kernel_headers.h 21 #include <linux/icmp.h>
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter_ipv4/
nf_nat.h 24 } icmp; member in union:nf_conntrack_man_proto
  /system/connectivity/shill/
icmp.h 21 #include <linux/icmp.h>
36 // The Icmp class encapsulates the task of sending ICMP frames.
37 class Icmp {
41 Icmp();
42 virtual ~Icmp();
44 // Create a socket for transmission of ICMP frames.
50 // Returns whether an ICMP socket is open.
53 // Send an ICMP Echo Request (Ping) packet to |destination|. The ID and
72 DISALLOW_COPY_AND_ASSIGN(Icmp);
    [all...]
icmp_session.h 21 #include <linux/icmp.h>
41 #include "shill/icmp.h"
51 // The Icmp class is used to perform the sending of echo requests. Each
52 // IcmpSession object only allows one ICMP session to be running at one time.
53 // Multiple ICMP sessions can be run concurrently by creating multiple
57 // The result of an ICMP session is a vector of time deltas representing how
68 // ICMP session is still in progress.
71 // Starts an ICMP session, sending |kNumEchoRequestsToSend| echo requests to
79 // Stops the current ICMP session by closing the ICMP socket and resettin
    [all...]
  /external/android-clat/
dump.c 30 #include <linux/icmp.h>
91 /* print icmp header */
92 void dump_icmp(struct icmphdr *icmp) {
93 printf("ICMP\n");
95 printf("icmp.type = %x ",icmp->type);
96 if(icmp->type == ICMP_ECHOREPLY) {
98 } else if(icmp->type == ICMP_ECHO) {
104 printf("icmp.code = %x\n",icmp->code)
    [all...]
ipv4.c 27 * translates an icmp packet
29 * icmp - pointer to icmp header in packet
34 int icmp_packet(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
44 payload = (const uint8_t *) (icmp + 1);
47 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size);
98 // ICMP and ICMPv6 have different protocol numbers.
Android.mk 4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c logging.c getaddr.c netlink_callbacks.c netlink_msg.c setif.c mtu.c tun.c ring.c
33 LOCAL_SRC_FILES := clatd_test.cpp checksum.c translate.c icmp.c ipv4.c ipv6.c logging.c config.c tun.c
dump.h 22 void dump_icmp(struct icmphdr *icmp);
translate.c 20 #include "icmp.h"
219 * translate ipv4 icmp to ipv6 icmp
221 * icmp - source packet icmp header
223 * payload - icmp payload
227 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
235 icmp6_type = icmp_to_icmp6_type(icmp->type, icmp->code);
237 icmp6_targ->icmp6_code = icmp_to_icmp6_code(icmp->type, icmp->code)
    [all...]
translate.h 28 #include <linux/icmp.h>
68 // Translate ICMP packets.
69 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
icmp.c 16 * icmp.c - convenience functions for translating ICMP and ICMPv6 packets.
22 #include <linux/icmp.h>
25 #include "icmp.h"
44 * Determines whether an ICMP type is an error message.
45 * type: the ICMP type
60 * Maps ICMP types to ICMPv6 types. Partial implementation of RFC 6145, section 4.2.
81 // We don't understand this ICMP type. Return parameter problem so the caller will bail out.
82 logmsg_dbg(ANDROID_LOG_DEBUG, "icmp_to_icmp6_type: unhandled ICMP type %d", type);
87 * Maps ICMP codes to ICMPv6 codes. Partial implementation of RFC 6145, section 4.2
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiWakeReasonAndCounts.java 46 public int icmp; field in class:WifiWakeReasonAndCounts
74 sb.append(" icmp ").append(icmp);
114 dest.writeInt(icmp);
142 counts.icmp = in.readInt();
  /external/libpcap/
scanner.l 192 icmp return ICMP;
356 icmp-echoreply { yylval.i = 0; return NUM; }
357 icmp-unreach { yylval.i = 3; return NUM; }
358 icmp-sourcequench { yylval.i = 4; return NUM; }
359 icmp-redirect { yylval.i = 5; return NUM; }
360 icmp-echo { yylval.i = 8; return NUM; }
361 icmp-routeradvert { yylval.i = 9; return NUM; }
362 icmp-routersolicit { yylval.i = 10; return NUM; }
363 icmp-timxceed { yylval.i = 11; return NUM;
    [all...]
  /external/dnsmasq/src/
dnsmasq.c 391 CAP_NET_RAW (for icmp) if we're doing dhcp */
1257 /* Try and get an ICMP echo from a machine. */
1268 struct icmp icmp; member in struct:__anon9985
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vpc/
networkacl.py 30 class Icmp(object):
32 Defines the ICMP code and type.
39 return 'Icmp::code:%s, type:%s)' % ( self.code, self.type)
95 self.icmp = Icmp()
105 return self.icmp
  /system/extras/tests/net_test/
packets.py 141 # Linux hardcodes the ToS on ICMP errors to 0xc0 or greater because of
165 icmp = {4: scapy.ICMP, 6: scapy.ICMPv6EchoRequest}[version]
167 icmp(id=PING_IDENT, seq=PING_SEQ) / PING_PAYLOAD)
173 # Scapy doesn't provide an ICMP echo reply constructor.
174 icmpv4_reply = lambda **kwargs: scapy.ICMP(type=0, **kwargs)
175 icmp = {4: icmpv4_reply, 6: scapy.ICMPv6EchoReply}[version]
177 icmp(id=PING_IDENT, seq=PING_SEQ) / PING_PAYLOAD)
  /external/libnl/lib/netfilter/
ct_obj.c 122 nl_dump(p, "icmp type %d ", nfnl_ct_get_icmp_type(ct, reply));
298 diff |= CT_DIFF_VAL(ORIG_ICMP_ID, ct_orig.proto.icmp.id);
299 diff |= CT_DIFF_VAL(ORIG_ICMP_TYPE, ct_orig.proto.icmp.type);
300 diff |= CT_DIFF_VAL(ORIG_ICMP_CODE, ct_orig.proto.icmp.code);
307 diff |= CT_DIFF_VAL(REPL_ICMP_ID, ct_repl.proto.icmp.id);
308 diff |= CT_DIFF_VAL(REPL_ICMP_TYPE, ct_repl.proto.icmp.type);
309 diff |= CT_DIFF_VAL(REPL_ICMP_CODE, ct_repl.proto.icmp.code);
664 dir->proto.icmp.id = id;
678 return dir->proto.icmp.id;
686 dir->proto.icmp.type = type
    [all...]
  /external/toybox/toys/pending/
traceroute.c 26 -U Use UDP datagrams instead of ICMP ECHO (supports IPV4 only)
27 -I Use ICMP ECHO instead of UDP datagrams (supports IPV4 only)
115 struct icmp *send_icmp4 = (struct icmp *)(TT.packet);
255 struct icmp *ricmp;
257 ricmp = (struct icmp *) ((char*)rcv_pkt + (rcv_pkt->ip_hl << 2));
267 struct icmp *hicmp;
278 hicmp = (struct icmp *) ((char*)hip + (hip->ip_hl << 2));
314 xprintf(" %d bytes from %s : icmp type %d code %d\t",
  /bionic/libc/include/netinet/
ip_icmp.h 56 * ICMP Router Advertisement data
64 * Structure of an icmp header.
66 struct icmp { struct
123 * For IPv6 transition related ICMP errors.
145 * http://www.iana.org/assignments/icmp-parameters

Completed in 934 milliseconds

1 23 4 5 6