Searched refs:icmp (Results 1 - 25 of 38) sorted by relevance

12

/external/iptables/extensions/
H A Dlibipt_icmp.c8 /* special hack for icmp-type 'any':
10 * '-p icmp ' matches all icmp packets
11 * '-p icmp -m icmp' matches _only_ ICMP type 0 :(
12 * This is now fixed by initializing the field * to icmp type 0xFF
105 "icmp match options:\n"
106 "[!] --icmp-type typename match icmp type\n"
107 "[!] --icmp
223 const struct ipt_icmp *icmp = (struct ipt_icmp *)match->data; local
237 const struct ipt_icmp *icmp = (struct ipt_icmp *)match->data; local
[all...]
/external/iptables/include/linux/netfilter/
H A Dnf_conntrack_tuple_common.h25 } icmp; member in union:nf_conntrack_man_proto
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h25 } icmp; member in union:nf_conntrack_man_proto
/external/android-clat/
H A DAndroid.mk4 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
33 LOCAL_SRC_FILES := clatd_test.cpp checksum.c translate.c icmp.c ipv4.c ipv6.c logging.c config.c
H A Ddump.c30 #include <linux/icmp.h>
91 /* print icmp header */
92 void dump_icmp(struct icmphdr *icmp) { argument
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);
105 printf("icmp
[all...]
H A Dipv4.c27 * 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, argument
44 payload = (const uint8_t *) (icmp + 1);
47 return icmp_to_icmp6(out, pos, icmp, checksum, payload, payload_size);
H A Ddump.h22 void dump_icmp(struct icmphdr *icmp);
H A Dtranslate.c21 #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, argument
235 icmp6_type = icmp_to_icmp6_type(icmp->type, icmp->code);
237 icmp6_targ->icmp6_code = icmp_to_icmp6_code(icmp
[all...]
H A Dtranslate.h28 #include <linux/icmp.h>
80 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
H A Dicmp.c16 * icmp.c - convenience functions for translating ICMP and ICMPv6 packets.
22 #include <linux/icmp.h>
25 #include "icmp.h"
H A Dchecksum.c25 #include <linux/icmp.h>
86 * calculate the pseudo header checksum for use in tcp/udp/icmp headers
/external/iproute2/include/libiptc/
H A Dipt_kernel_headers.h20 #include <linux/icmp.h>
/external/iptables/include/libiptc/
H A Dipt_kernel_headers.h21 #include <linux/icmp.h>
/external/libpcap/
H A Dscanner.l201 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; }
372 icmp
[all...]
/external/qemu/slirp/
H A Dip_icmp.c44 /* list of actions for icmp_error() on RX of an icmp message */
73 register struct icmp *icp;
85 * Locate icmp structure in mbuf, and check
97 icp = mtod(m, struct icmp *);
199 * packet. The maximum payload is 576-20(ip hdr)-8(icmp hdr)=548
209 register struct icmp *icp;
233 icp = (struct icmp *)((char *)ip + shlen);
254 /* fill in icmp */
258 icp = mtod(m, struct icmp *);
325 register struct icmp *ic
[all...]
H A Dip_icmp.h44 * Structure of an icmp header.
46 struct icmp { struct
/external/qemu/slirp-android/
H A Dip_icmp.c45 /* list of actions for icmp_error() on RX of an icmp message */
74 register struct icmp *icp;
86 * Locate icmp structure in mbuf, and check
98 icp = mtod(m, struct icmp *);
201 * packet. The maximum payload is 576-20(ip hdr)-8(icmp hdr)=548
211 register struct icmp *icp;
235 icp = (struct icmp *)((char *)ip + shlen);
256 /* fill in icmp */
260 icp = mtod(m, struct icmp *);
327 register struct icmp *ic
[all...]
H A Dip_icmp.h46 * Structure of an icmp header.
48 struct icmp { struct
/external/dnsmasq/src/
H A Ddnsmasq.c391 CAP_NET_RAW (for icmp) if we're doing dhcp */
1268 struct icmp icmp; member in struct:__anon20427
1291 memset(&packet.icmp, 0, sizeof(packet.icmp));
1292 packet.icmp.icmp_type = ICMP_ECHO;
1293 packet.icmp.icmp_id = id;
1294 for (j = 0, i = 0; i < sizeof(struct icmp) / 2; i++)
1295 j += ((u16 *)&packet.icmp)[i];
1298 packet.icmp
[all...]
/external/libnl/lib/netfilter/
H A Dct_obj.c122 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
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dversion_set.h42 extern int FindFile(const InternalKeyComparator& icmp,
53 const InternalKeyComparator& icmp,
H A Ddb_impl.h205 const InternalKeyComparator* icmp,
/external/tcpdump/
H A Dprint-icmp.c24 "@(#) $Header: /tcpdump/master/tcpdump/print-icmp.c,v 1.87 2007-09-13 17:42:31 guy Exp $ (LBL)";
51 * Structure of an icmp header.
53 struct icmp { struct
104 #define ICMP_EXTD_MINLEN (156 - sizeof (struct ip)) /* draft-bonica-internet-icmp-08 */
196 /* Most of the icmp types */
265 * draft-bonica-internet-icmp-08
337 const struct icmp *dp;
351 dp = (struct icmp *)bp;
571 (void)printf(" (wrong icmp cksum %x (->%x)!)",
694 fputs("[|icmp]", stdou
[all...]
H A DAndroid.mk14 print-geonet.c print-gre.c print-hsrp.c print-icmp.c print-igmp.c \
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_ip_icmp.h48 * Structure of an icmp header.
75 * Structure of an icmp packet.
79 struct icmp { struct

Completed in 474 milliseconds

12