/external/qemu/slirp-android/ |
D | ip_icmp.c | 74 register struct icmp *icp; in icmp_input() local 98 icp = mtod(m, struct icmp *); in icmp_input() 109 DEBUG_ARG("icmp_type = %d", icp->icmp_type); in icmp_input() 110 switch (icp->icmp_type) { in icmp_input() 112 icp->icmp_type = ICMP_ECHOREPLY; in icmp_input() 211 register struct icmp *icp; in icmp_error() local 235 icp = (struct icmp *)((char *)ip + shlen); in icmp_error() 240 if(icp->icmp_type>18 || icmp_flush[icp->icmp_type]) goto end_error; in icmp_error() 260 icp = mtod(m, struct icmp *); in icmp_error() 270 icp->icmp_type = type; in icmp_error() [all …]
|
/external/qemu/slirp/ |
D | ip_icmp.c | 73 register struct icmp *icp; in icmp_input() local 97 icp = mtod(m, struct icmp *); in icmp_input() 108 DEBUG_ARG("icmp_type = %d", icp->icmp_type); in icmp_input() 109 switch (icp->icmp_type) { in icmp_input() 111 icp->icmp_type = ICMP_ECHOREPLY; in icmp_input() 209 register struct icmp *icp; in icmp_error() local 233 icp = (struct icmp *)((char *)ip + shlen); in icmp_error() 238 if(icp->icmp_type>18 || icmp_flush[icp->icmp_type]) goto end_error; in icmp_error() 258 icp = mtod(m, struct icmp *); in icmp_error() 268 icp->icmp_type = type; in icmp_error() [all …]
|
/external/ping/ |
D | ping.c | 953 static void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp); 1069 struct icmphdr *icp; in send_probe() local 1073 icp = (struct icmphdr *)outpack; in send_probe() 1074 icp->type = ICMP_ECHO; in send_probe() 1075 icp->code = 0; in send_probe() 1076 icp->checksum = 0; in send_probe() 1077 icp->un.echo.sequence = htons(ntransmitted+1); in send_probe() 1078 icp->un.echo.id = ident; /* ID */ in send_probe() 1089 memcpy(icp+1, &tmp_tv, fake_fucked_egcs); in send_probe() 1091 memset(icp+1, 0, sizeof(struct timeval)); in send_probe() [all …]
|
/external/ping6/ |
D | ping6.c | 1231 struct icmp6_hdr *icp; in pinger() local 1240 icp = (struct icmp6_hdr *)outpack; in pinger() 1242 memset(icp, 0, sizeof(*icp)); in pinger() 1243 icp->icmp6_cksum = 0; in pinger() 1248 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1249 icp->icmp6_code = ICMP6_NI_SUBJ_IPV6; in pinger() 1263 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1264 icp->icmp6_code = 0; /* code field is always 0 */ in pinger() 1275 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1276 icp->icmp6_code = ICMP6_NI_SUBJ_IPV6; in pinger() [all …]
|
/external/dhcpcd/ |
D | ipv6rs.c | 274 struct icmp6_hdr *icp; in ipv6rs_handledata() local 332 icp = (struct icmp6_hdr *)rcvhdr.msg_iov[0].iov_base; in ipv6rs_handledata() 333 if (icp->icmp6_type != ND_ROUTER_ADVERT || in ipv6rs_handledata() 334 icp->icmp6_code != 0) in ipv6rs_handledata() 364 memcmp(rap->data, (unsigned char *)icp, rap->data_len) != 0)) in ipv6rs_handledata() 386 memcpy(rap->data, icp, len); in ipv6rs_handledata() 391 nd_ra = (struct nd_router_advert *)icp; in ipv6rs_handledata() 396 p = ((uint8_t *)icp) + sizeof(struct nd_router_advert); in ipv6rs_handledata()
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/ |
D | p2.cpp | 35 const int *icp = ctcv; in test_cvqual_conv() local
|
/external/clang/test/SemaCXX/ |
D | cstyle-cast.cpp | 195 int const *icp = (int const*)(ipppc); in constness() local 196 (void)(int*)(icp); // const_cast appended in constness()
|
D | reinterpret-cast.cpp | 60 int const *icp = reinterpret_cast<int const*>(ipppc); in constness() local 62 …(void)reinterpret_cast<int*>(icp); // expected-error {{reinterpret_cast from 'const int *' to 'int… in constness()
|
D | functional-cast.cpp | 263 int const *icp = icp_t(ipppc); in constness() local 265 (void)intp(icp); // const_cast appended in constness()
|
/external/tcpdump/ |
D | print-icmp6.c | 192 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, in icmp6_cksum() argument 220 sp = (const u_int16_t *)icp; in icmp6_cksum() 745 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; in mldv2_report_print() local 755 TCHECK(icp->icmp6_data16[1]); in mldv2_report_print() 756 ngroups = ntohs(icp->icmp6_data16[1]); in mldv2_report_print() 803 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; in mldv2_query_print() local 814 TCHECK(icp->icmp6_data16[0]); in mldv2_query_print() 815 mrc = ntohs(icp->icmp6_data16[0]); in mldv2_query_print()
|
/external/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 1662 int icp; in __GetLocaleInfoUsingACP() local 1666 icp = atoi(cp); in __GetLocaleInfoUsingACP() 1667 if (icp != CP_ACP && buf[0] != 0) { in __GetLocaleInfoUsingACP() 1678 WideCharToMultiByte(icp, 0, Buffer, -1, buf, buf_size, NULL, NULL); in __GetLocaleInfoUsingACP()
|
/external/bluetooth/bluedroid/stack/l2cap/ |
D | l2c_fcr.c | 116 unsigned short l2c_fcr_updcrc(unsigned short icrc, unsigned char *icp, int icnt) in l2c_fcr_updcrc() argument 119 register unsigned char *cp = icp; in l2c_fcr_updcrc()
|