Searched refs:icp (Results 1 - 20 of 20) sorted by relevance

/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Dip_icmp.c200 struct icmp *icp; local
256 icp = mtod(m, struct icmp *);
260 icp->icmp_type = type;
262 icp->icmp_gwaddr.s_addr = dest;
264 icp->icmp_void = 0;
270 icp->icmp_pptr = code;
274 icp->icmp_nextmtu = htons(nextmtu);
278 icp->icmp_code = code;
279 m_copydata(n, 0, icmplen, (caddr_t)&icp->icmp_ip);
280 nip = &icp
318 struct icmp *icp; local
823 struct icmp *icp; local
1105 struct icmp *icp; local
[all...]
H A Dtcp_subr.c1833 struct icmp *icp; local
1835 icp = (struct icmp *)(void *)
1871 icmpsrc.sin_addr = icp->icmp_ip.ip_dst;
1879 mtu = ntohs(icp->icmp_nextmtu);
/macosx-10.10.1/remote_cmds-47/timed.tproj/timed.tproj/
H A Dmeasure.c84 register struct icmp *icp = (struct icmp *) packet; local
195 icp = (struct icmp *)(packet + (ip->ip_hl << 2));
197 || icp->icmp_type != ICMP_TSTAMPREPLY
198 || icp->icmp_id != oicp->icmp_id
199 || icp->icmp_seq < seqno
200 || icp->icmp_seq >= oicp->icmp_seq)
204 sendtime = ntohl(icp->icmp_otime);
213 histime1 = ntohl(icp->icmp_rtime);
214 histime2 = ntohl(icp->icmp_ttime);
/macosx-10.10.1/network_cmds-457/ping.tproj/
H A Dping.c1080 struct icmp *icp; local
1085 icp = (struct icmp *)outpack;
1086 icp->icmp_type = icmp_type;
1087 icp->icmp_code = 0;
1088 icp->icmp_cksum = 0;
1089 icp->icmp_seq = htons(ntransmitted);
1090 icp->icmp_id = ident; /* ID */
1100 icp->icmp_otime = htonl((now.tv_sec % (24*60*60))
1111 icp->icmp_cksum = in_cksum((u_short *)icp, c
1179 struct icmp *icp; local
1589 pr_icmph(struct icmp *icp) argument
[all...]
/macosx-10.10.1/network_cmds-457/rtsol.tproj/
H A Drtsol.c229 struct icmp6_hdr *icp; local
275 icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base;
277 if (icp->icmp6_type != ND_ROUTER_ADVERT) {
279 "invalid icmp type(%d) from %s on %s", icp->icmp6_type,
286 if (icp->icmp6_code != 0) {
288 "invalid icmp code(%d) from %s on %s", icp->icmp6_code,
/macosx-10.10.1/network_cmds-457/ping6.tproj/
H A Dping6.c1459 struct icmp6_hdr *icp; local
1468 icp = (struct icmp6_hdr *)outpack;
1470 memset(icp, 0, sizeof(*icp));
1471 icp->icmp6_cksum = 0;
1476 icp->icmp6_type = ICMP6_NI_QUERY;
1477 icp->icmp6_code = ICMP6_NI_SUBJ_IPV6;
1491 icp->icmp6_type = ICMP6_NI_QUERY;
1492 icp->icmp6_code = 0; /* code field is always 0 */
1503 icp
1572 myechoreply(const struct icmp6_hdr *icp) argument
1662 struct icmp6_hdr *icp; local
2544 pr_icmph(struct icmp6_hdr *icp, u_char *end) argument
[all...]
/macosx-10.10.1/network_cmds-457/traceroute6.tproj/
H A Dtraceroute6.c1012 struct icmp6_hdr *icp; local
1031 icp = (struct icmp6_hdr *)outpacket;
1033 icp->icmp6_type = ICMP6_ECHO_REQUEST;
1034 icp->icmp6_code = 0;
1035 icp->icmp6_cksum = 0;
1036 icp->icmp6_id = ident;
1037 icp->icmp6_seq = htons(seq);
1161 struct icmp6_hdr *icp; local
1188 icp = (struct icmp6_hdr *)(buf + hlen);
1199 icp
[all...]
/macosx-10.10.1/network_cmds-457/rtadvd.tproj/
H A Drtadvd.c586 struct icmp6_hdr *icp; local
654 icp = (struct icmp6_hdr *)(ip + 1); /* XXX: ext. hdr? */
663 icp = (struct icmp6_hdr *)rcvmhdr.msg_iov[0].iov_base;
666 switch (icp->icmp6_type) {
683 if (icp->icmp6_code) {
687 __func__, icp->icmp6_code,
703 rs_input(i, (struct nd_router_solicit *)icp, pi, &rcvfrom);
720 if (icp->icmp6_code) {
724 __func__, icp->icmp6_code,
740 ra_input(i, (struct nd_router_advert *)icp, p
[all...]
/macosx-10.10.1/network_cmds-457/traceroute.tproj/
H A Dtraceroute.c1321 register struct icmp *icp; local
1336 icp = (struct icmp *)(buf + hlen);
1338 icp = (struct icmp *)buf;
1340 type = icp->icmp_type;
1341 code = icp->icmp_code;
1347 pmtu = ntohs(icp->icmp_nextmtu);
1349 pmtu = ntohs(((struct my_pmtu *)&icp->icmp_void)->ipm_nextmtu);
1354 && (*proto->check)((u_char *)icp, (u_char)seq))
1360 hip = &icp->icmp_ip;
1361 hiplen = ((u_char *)icp
[all...]
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-icmp6.c198 static int icmp6_cksum(const struct ip6_hdr *ip6, const struct icmp6_hdr *icp, argument
201 return (nextproto6_cksum(ip6, (const u_int8_t *)(void *)icp, len,
844 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; local
854 TCHECK(icp->icmp6_data16[1]);
855 ngroups = EXTRACT_16BITS(&icp->icmp6_data16[1]);
902 struct icmp6_hdr *icp = (struct icmp6_hdr *) bp; local
913 TCHECK(icp->icmp6_data16[0]);
914 mrc = EXTRACT_16BITS(&icp->icmp6_data16[0]);
/macosx-10.10.1/xnu-2782.1.97/osfmk/i386/
H A Dmachine_routines.c299 void ml_get_power_state(boolean_t *icp, boolean_t *pidlep) { argument
300 *icp = (get_interrupt_level() != 0);
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/
H A Dicmp6.c351 struct icmp6_hdr *icp; local
355 icp = (struct icmp6_hdr *)(mtod(m, caddr_t) + off);
357 IP6_EXTHDR_GET(icp, struct icmp6_hdr *, m, off,
358 sizeof(*icp));
359 if (icp == NULL) {
364 if (icp->icmp6_type < ICMP6_ECHO_REQUEST ||
365 icp->icmp6_type == ND_REDIRECT) {
/macosx-10.10.1/IOFireWireIP-226.2/KernelSource/IOKit/
H A DIOFWIPBusInterface.cpp2241 struct icmp6_hdr *icp = (struct icmp6_hdr*)(ip6 + 1); local
2242 struct nd_neighbor_advert *nd_na = (struct nd_neighbor_advert*)icp;
2243 struct nd_neighbor_solicit *nd_ns = (struct nd_neighbor_solicit*)icp;
2349 struct icmp6_hdr *icp = (struct icmp6_hdr*)(ip6 + 1); local
2350 struct nd_neighbor_advert *nd_na = (struct nd_neighbor_advert*)icp;
2351 struct nd_neighbor_solicit *nd_ns = (struct nd_neighbor_solicit*)icp;
2437 struct icmp6_hdr *icp = NULL; local
2447 icp = (struct icmp6_hdr*)(ip6 + 1);
2448 nd_na = (struct nd_neighbor_advert*)icp;
2449 nd_ns = (struct nd_neighbor_solicit*)icp;
[all...]
/macosx-10.10.1/ppp-786.1.1/Helpers/pppd/
H A Dsys-MacOSX.c3993 struct icmp *icp; local
4014 icp = ALIGNED_CAST(struct icmp *)outpack;
4015 icp->icmp_type = ICMP_ECHO;
4016 icp->icmp_code = 0;
4017 icp->icmp_cksum = 0;
4018 icp->icmp_seq = htons(ntransmit);
4019 icp->icmp_id = getpid() & 0xFFFF;
4020 icp->icmp_cksum = in_cksum((u_short *)icp, ICMP_MINLEN);
/macosx-10.10.1/emacs-93/emacs/lisp/calc/
H A Dcalcalg2.el3052 (icp math-int-coefs)
3053 (rem (car icp))
3055 (while (setq icp (cdr icp))
3057 rem (math-add (car icp)
3074 (icp (cdr math-int-coefs))
3075 (rem0 (car icp))
3083 (while (setq icp (cdr icp))
3087 rem0 (math-sub (car icp) (mat
[all...]
/macosx-10.10.1/ppp-786.1.1/Controller/
H A Dipsec_manager.c1534 struct icmp *icp; local
1551 icp = ALIGNED_CAST(struct icmp *)data;
1552 icp->icmp_type = ICMP_ECHO;
1553 icp->icmp_code = 0;
1554 icp->icmp_cksum = 0;
1555 icp->icmp_seq = htons(0);
1556 icp->icmp_id = 0; /* ID */
/macosx-10.10.1/CPANInternal-159.1/Perl-Tidy-20121207/bin/
H A Dperltidy690 =item B<-icp>, B<--indent-closing-paren>
692 The B<-icp> flag is equivalent to
2380 -lp -bl -noll -pt=2 -bt=2 -sbt=2 -icp
3014 dwrs dws f fll frm fs hsc html ibc icb icp iob isbc lal log
/macosx-10.10.1/files-662.1.1/private/etc/
H A Dservices96 msg-icp 29/udp # MSG ICP
97 msg-icp 29/tcp # MSG ICP
2319 icp 1112/udp # Intelligent Communication Protocol
2320 icp 1112/tcp # Intelligent Communication Protocol
/macosx-10.10.1/emacs-93/emacs/leim/CXTERM-DIC/
H A DARRAY30.tit11021 icp\040 �� # ---> 8^3v0^ 0
12412 icp. �� # ---> 8^3v0^9v 0
/macosx-10.10.1/CPANInternal-159.1/Perl-Tidy-20121207/lib/Perl/
H A DTidy.pm1949 'icp' => [qw(cpi=2 cbi=2 csbi=2)],
3411 -icp equivalent to -cti=2
13065 # Full indentaion of closing tokens (-icb and -icp or -cti=2)
13099 # handle -icp and any -icb block braces which fall through above
13103 # There are currently two ways to handle -icp...
19973 # count because it may have been changed if the -icp flag is in
21628 # update the indentation object because with -icp the terminal
[all...]

Completed in 444 milliseconds