Searched defs:icp (Results 1 - 14 of 14) sorted by relevance

/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/
H A Dp2.cpp36 const int *icp = ctcv; local
/external/qemu/slirp/
H A Dip_icmp.c73 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 Dip_icmp.c74 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/clang/test/SemaCXX/
H A Dreinterpret-cast.cpp60 int const *icp = reinterpret_cast<int const*>(ipppc); local
62 (void)reinterpret_cast<int*>(icp); // expected-error {{reinterpret_cast from 'const int *' to 'int *' casts away qualifiers}}
H A Dcstyle-cast.cpp196 int const *icp = (int const*)(ipppc); local
197 (void)(int*)(icp); // const_cast appended
H A Dfunctional-cast.cpp264 int const *icp = icp_t(ipppc); local
266 (void)intp(icp); // const_cast appended
/external/bluetooth/bluedroid/stack/l2cap/
H A Dl2c_fcr.c116 unsigned short l2c_fcr_updcrc(unsigned short icrc, unsigned char *icp, int icnt) argument
119 register unsigned char *cp = icp;
/external/dhcpcd/
H A Dipv6rs.c274 struct icmp6_hdr *icp; local
332 icp = (struct icmp6_hdr *)rcvhdr.msg_iov[0].iov_base;
333 if (icp->icmp6_type != ND_ROUTER_ADVERT ||
334 icp->icmp6_code != 0)
364 memcmp(rap->data, (unsigned char *)icp, rap->data_len) != 0))
386 memcpy(rap->data, icp, len);
391 nd_ra = (struct nd_router_advert *)icp;
396 p = ((uint8_t *)icp) + sizeof(struct nd_router_advert);
/external/iputils/
H A Dclockdiff.c137 struct icmphdr *icp = (struct icmphdr *) packet; local
226 icp = (struct icmphdr *)(packet + (ip->ihl << 2));
227 if( icp->type == ICMP_TIMESTAMPREPLY &&
228 icp->un.echo.id == id && icp->un.echo.sequence >= seqno0 &&
229 icp->un.echo.sequence <= seqno) {
230 if (acked < icp->un.echo.sequence)
231 acked = icp->un.echo.sequence;
235 sendtime = ntohl(*(__u32*)(icp+1));
245 histime = ntohl(((__u32*)(icp
314 struct icmphdr *icp = (struct icmphdr *) packet; local
[all...]
H A Dtraceroute6.c828 struct icmp6_hdr *icp; local
831 icp = (struct icmp6_hdr *) buf;
833 type = icp->icmp6_type;
834 code = icp->icmp6_code;
843 hip = (struct ip6_hdr *) (icp + 1);
873 p = (unsigned char *) (icp + 1);
880 icp->icmp6_code);
H A Dping.c103 static void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp);
717 struct icmphdr *icp; local
721 icp = (struct icmphdr *)outpack;
722 icp->type = ICMP_ECHO;
723 icp->code = 0;
724 icp->checksum = 0;
725 icp->un.echo.sequence = htons(ntransmitted+1);
726 icp->un.echo.id = ident; /* ID */
734 memcpy(icp+1, &tmp_tv, sizeof(tmp_tv));
736 memset(icp
775 struct icmphdr *icp = (struct icmphdr *)_icp; local
784 struct icmphdr *icp; local
984 pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp) argument
[all...]
H A Drdisc.c543 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack); local
550 icp->type = ICMP_ROUTER_SOLICITATION;
551 icp->code = 0;
552 icp->checksum = 0;
553 icp->un.gateway = 0; /* Reserved */
557 icp->checksum = in_cksum( (u_short *)icp, packetlen );
723 struct icmphdr *icp; local
736 icp = (struct icmphdr *)ALLIGN(buf + hlen);
738 switch (icp
[all...]
/external/tcpdump/
H A Dprint-icmp6.c192 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 Dc_locale_win32.c1662 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 1142 milliseconds