Searched refs:icp (Results 1 - 5 of 5) sorted by relevance
/external/qemu/slirp/ |
H A D | ip_icmp.c | 73 register struct icmp *icp; local 97 icp = mtod(m, struct icmp *); 105 /* icmpstat.icps_inhist[icp->icmp_type]++; */ 106 /* code = icp->icmp_code; */ 108 DEBUG_ARG("icmp_type = %d", icp->icmp_type); 109 switch (icp->icmp_type) { 111 icp->icmp_type = ICMP_ECHOREPLY; 209 register struct icmp *icp; local 233 icp = (struct icmp *)((char *)ip + shlen); 238 if(icp 325 register struct icmp *icp; local [all...] |
/external/qemu/slirp-android/ |
H A D | ip_icmp.c | 74 register struct icmp *icp; local 98 icp = mtod(m, struct icmp *); 106 /* icmpstat.icps_inhist[icp->icmp_type]++; */ 107 /* code = icp->icmp_code; */ 109 DEBUG_ARG("icmp_type = %d", icp->icmp_type); 110 switch (icp->icmp_type) { 112 icp->icmp_type = ICMP_ECHOREPLY; 211 register struct icmp *icp; local 235 icp = (struct icmp *)((char *)ip + shlen); 240 if(icp 327 register struct icmp *icp; local [all...] |
/external/ping/ |
H A D | ping.c | 951 static void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp); 1067 struct icmphdr *icp; local 1071 icp = (struct icmphdr *)outpack; 1072 icp->type = ICMP_ECHO; 1073 icp->code = 0; 1074 icp->checksum = 0; 1075 icp->un.echo.sequence = htons(ntransmitted+1); 1076 icp->un.echo.id = ident; /* ID */ 1087 memcpy(icp+1, &tmp_tv, fake_fucked_egcs); 1089 memset(icp 1134 struct icmphdr *icp; local 1289 pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp) argument [all...] |
/external/tcpdump/ |
H A D | print-icmp6.c | 192 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, argument 220 sp = (const u_int16_t *)icp; 745 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; local 755 TCHECK(icp->icmp6_data16[1]); 756 ngroups = ntohs(icp->icmp6_data16[1]); 803 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; local 814 TCHECK(icp->icmp6_data16[0]); 815 mrc = ntohs(icp->icmp6_data16[0]);
|
/external/stlport/src/c_locale_win32/ |
H A D | c_locale_win32.c | 1662 int icp; local 1666 icp = atoi(cp); 1667 if (icp != CP_ACP && buf[0] != 0) { 1678 WideCharToMultiByte(icp, 0, Buffer, -1, buf, buf_size, NULL, NULL);
|
Completed in 373 milliseconds