/external/android-clat/ |
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.
|
dump.h | 22 void dump_icmp(struct icmphdr *icmp);
|
translate.c | 21 #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> 79 // Translate ICMP packets. 80 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...] |
checksum.c | 25 #include <linux/icmp.h> 86 * calculate the pseudo header checksum for use in tcp/udp/icmp headers
|
/external/libpcap/ |
scanner.l | 201 icmp return ICMP; 364 icmp-echoreply { yylval.i = 0; return NUM; } 365 icmp-unreach { yylval.i = 3; return NUM; } 366 icmp-sourcequench { yylval.i = 4; return NUM; } 367 icmp-redirect { yylval.i = 5; return NUM; } 368 icmp-echo { yylval.i = 8; return NUM; } 369 icmp-routeradvert { yylval.i = 9; return NUM; } 370 icmp-routersolicit { yylval.i = 10; return NUM; } 371 icmp-timxceed { yylval.i = 11; return NUM; [all...] |
/external/qemu/slirp/ |
ip_icmp.c | 42 static const char icmp_ping_msg[] = "This is a pseudo-PING packet used by Slirp to emulate ICMP ECHO-REQUEST packets.\n"; 44 /* list of actions for icmp_error() on RX of an icmp message */ 68 * Process a received ICMP message. 73 register struct icmp *icp; 85 * Locate icmp structure in mbuf, and check 97 icp = mtod(m, struct icmp *); 185 * Send an ICMP message in response to a situation 198 * ICMP fragmentation is illegal. All machines must accept 576 bytes in one 199 * packet. The maximum payload is 576-20(ip hdr)-8(icmp hdr)=548 209 register struct icmp *icp [all...] |
ip_icmp.h | 44 * Structure of an icmp header. 46 struct icmp { struct
|
/external/qemu/slirp-android/ |
ip_icmp.c | 43 static const char icmp_ping_msg[] = "This is a pseudo-PING packet used by Slirp to emulate ICMP ECHO-REQUEST packets.\n"; 45 /* list of actions for icmp_error() on RX of an icmp message */ 69 * Process a received ICMP message. 74 register struct icmp *icp; 86 * Locate icmp structure in mbuf, and check 98 icp = mtod(m, struct icmp *); 187 * Send an ICMP message in response to a situation 200 * ICMP fragmentation is illegal. All machines must accept 576 bytes in one 201 * packet. The maximum payload is 576-20(ip hdr)-8(icmp hdr)=548 211 register struct icmp *icp [all...] |
ip_icmp.h | 46 * Structure of an icmp header. 48 struct icmp { struct
|
/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:__anon24236 [all...] |
/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...] |
/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
|
/development/ndk/platforms/android-3/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
|
/development/ndk/platforms/android-L/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
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/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
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/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
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/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
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/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
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/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
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/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
|
/prebuilts/ndk/5/platforms/android-3/arch-arm/usr/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
|
/prebuilts/ndk/6/platforms/android-3/arch-arm/usr/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
|
/prebuilts/ndk/6/platforms/android-3/arch-x86/usr/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
|