Home
last modified time | relevance | path

Searched refs:icp (Results 1 – 25 of 26) sorted by relevance

12

/external/iputils/
Dping.c103 static void pr_icmph(__u8 type, __u8 code, __u32 info, struct icmphdr *icp);
720 struct icmphdr *icp; in send_probe() local
724 icp = (struct icmphdr *)outpack; in send_probe()
725 icp->type = ICMP_ECHO; in send_probe()
726 icp->code = 0; in send_probe()
727 icp->checksum = 0; in send_probe()
728 icp->un.echo.sequence = htons(ntransmitted+1); in send_probe()
729 icp->un.echo.id = ident; /* ID */ in send_probe()
737 memcpy(icp+1, &tmp_tv, sizeof(tmp_tv)); in send_probe()
739 memset(icp+1, 0, sizeof(struct timeval)); in send_probe()
[all …]
Dclockdiff.c137 struct icmphdr *icp = (struct icmphdr *) packet; in measure() local
226 icp = (struct icmphdr *)(packet + (ip->ihl << 2)); in measure()
227 if( icp->type == ICMP_TIMESTAMPREPLY && in measure()
228 icp->un.echo.id == id && icp->un.echo.sequence >= seqno0 && in measure()
229 icp->un.echo.sequence <= seqno) { in measure()
230 if (acked < icp->un.echo.sequence) in measure()
231 acked = icp->un.echo.sequence; in measure()
235 sendtime = ntohl(*(__u32*)(icp+1)); in measure()
245 histime = ntohl(((__u32*)(icp+1))[1]); in measure()
314 struct icmphdr *icp = (struct icmphdr *) packet; in measure_opt() local
[all …]
Drdisc.c543 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack); in solicitor() local
550 icp->type = ICMP_ROUTER_SOLICITATION; in solicitor()
551 icp->code = 0; in solicitor()
552 icp->checksum = 0; in solicitor()
553 icp->un.gateway = 0; /* Reserved */ in solicitor()
557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); in solicitor()
723 struct icmphdr *icp; in pr_pack() local
736 icp = (struct icmphdr *)ALLIGN(buf + hlen); in pr_pack()
738 switch (icp->type) { in pr_pack()
741 struct icmp_ra *rap = (struct icmp_ra *)ALLIGN(icp); in pr_pack()
[all …]
Dtraceroute6.c828 struct icmp6_hdr *icp; in packet_ok() local
831 icp = (struct icmp6_hdr *) buf; in packet_ok()
833 type = icp->icmp6_type; in packet_ok()
834 code = icp->icmp6_code; in packet_ok()
843 hip = (struct ip6_hdr *) (icp + 1); in packet_ok()
873 p = (unsigned char *) (icp + 1); in packet_ok()
880 icp->icmp6_code); in packet_ok()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_Signature.cpp138 PWL_CREATEPARAM icp = cp; in CreateChildWnd() local
139 icp.pParentWnd = this; in CreateChildWnd()
140 icp.dwFlags = PWS_CHILD | PWS_VISIBLE; in CreateChildWnd()
141 icp.sTextColor = CPWL_Color(COLORTYPE_GRAY, 0); in CreateChildWnd()
142 m_pImage->Create(icp); in CreateChildWnd()
DPWL_IconList.cpp143 PWL_CREATEPARAM icp = cp; in CreateChildWnd() local
144 icp.pParentWnd = this; in CreateChildWnd()
145 icp.dwFlags = PWS_CHILD | PWS_VISIBLE | PWS_NOREFRESHCLIP; in CreateChildWnd()
146 pNewItem->Create(icp); in CreateChildWnd()
DPWL_Note.cpp391 PWL_CREATEPARAM icp = GetCreationParam(); in CreateSubItem() local
392 icp.pParentWnd = this; in CreateSubItem()
393 icp.dwFlags = PWS_CHILD | PWS_VISIBLE | PWS_BACKGROUND; in CreateSubItem()
394 pNoteItem->Create(icp); in CreateSubItem()
1238 PWL_CREATEPARAM icp = cp; in CreateChildWnd() local
1239 icp.pParentWnd = this; in CreateChildWnd()
1240 icp.dwFlags = PWS_VISIBLE | PWS_CHILD; in CreateChildWnd()
1241 m_pIcon->Create(icp); in CreateChildWnd()
/external/dhcpcd-6.8.2/
Dipv6nd.c726 struct icmp6_hdr *icp, size_t len) in ipv6nd_handlera() argument
801 nd_ra = (struct nd_router_advert *)icp; in ipv6nd_handlera()
806 memcmp(rap->data, (unsigned char *)icp, rap->data_len) != 0)) in ipv6nd_handlera()
842 memcpy(rap->data, icp, len); in ipv6nd_handlera()
868 p = ((uint8_t *)icp) + sizeof(struct nd_router_advert); in ipv6nd_handlera()
1553 struct icmp6_hdr *icp, size_t len) in ipv6nd_handlena() argument
1576 nd_na = (struct nd_neighbor_advert *)icp; in ipv6nd_handlena()
1636 struct icmp6_hdr *icp; in ipv6nd_handledata() local
1696 icp = (struct icmp6_hdr *)ctx->rcvhdr.msg_iov[0].iov_base; in ipv6nd_handledata()
1697 if (icp->icmp6_code == 0) { in ipv6nd_handledata()
[all …]
/external/clang/test/SemaCXX/
Dcstyle-cast.cpp196 int const *icp = (int const*)(ipppc); in constness() local
197 (void)(int*)(icp); // const_cast appended in constness()
Dreinterpret-cast.cpp60 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()
Dfunctional-cast.cpp265 int const *icp = icp_t(ipppc); in constness() local
267 (void)intp(icp); // const_cast appended in constness()
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/
Dp2.cpp36 const int *icp = ctcv; in test_cvqual_conv() local
/external/tcpdump/
Dprint-icmp6.c625 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, in icmp6_cksum() argument
628 return nextproto6_cksum(ip6, (const uint8_t *)(void *)icp, len, len, in icmp6_cksum()
1426 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; in mldv2_report_print() local
1436 ND_TCHECK(icp->icmp6_data16[1]); in mldv2_report_print()
1437 ngroups = EXTRACT_16BITS(&icp->icmp6_data16[1]); in mldv2_report_print()
1484 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; in mldv2_query_print() local
1495 ND_TCHECK(icp->icmp6_data16[0]); in mldv2_query_print()
1496 mrc = EXTRACT_16BITS(&icp->icmp6_data16[0]); in mldv2_query_print()
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
/external/caliper/lib/
Djersey-core-1.11.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/jersey-module- ...

12