Searched refs:dst (Results 26 - 50 of 93) sorted by relevance

1234

/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dstubs.c114 copywithin(void *src, void *dst, size_t count) argument
116 bcopy(src,dst,count);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dip6_output.c152 * header (with pri, len, nxt, hlim, src, dst).
176 struct sockaddr_in6 *dst; local
551 dst = (struct sockaddr_in6 *)&ro->ro_dst;
558 dst->sin6_family != AF_INET6 ||
559 !IN6_ARE_ADDR_EQUAL(&dst->sin6_addr, &ip6->ip6_dst) ||
565 bzero(dst, sizeof(*dst));
566 dst->sin6_family = AF_INET6;
567 dst->sin6_len = sizeof(struct sockaddr_in6);
568 dst
1915 struct ip6_pktopts *dst; local
1990 struct sockaddr_in6 *dst; local
2647 ip6_mloopback( struct ifnet *ifp, struct mbuf *m, struct sockaddr_in6 *dst) argument
[all...]
H A Din6_pcb.c511 struct in6_addr *dst;
515 dst = &dstsock->sin6_addr;
541 dst);
560 if ((IN6_IS_ADDR_LINKLOCAL(dst) || IN6_IS_ADDR_MULTICAST(dst)) &&
572 dst);
591 if (IN6_IS_ADDR_MULTICAST(dst)) {
594 if (ifp == NULL && IN6_IS_ADDR_MC_NODELOCAL(dst)) {
599 ia6 = in6_ifawithscope(ifp, dst);
623 ia6 = in6_ifawithscope(rt->rt_ifp, dst);
[all...]
H A Draw_ip6.c293 struct in6_addr *dst; local
308 dst = &dstsock->sin6_addr;
338 ip6->ip6_dst = *dst;
710 struct sockaddr_in6 *dst; local
724 dst = &tmp;
731 dst = &tmp;
734 if (dst->sin6_scope_id == 0) { /* not change if specified */
735 dst->sin6_scope_id = scope6_addr2default(&dst->sin6_addr);
738 return rip6_output(m, so, dst, contro
[all...]
H A Dfrag6.c152 struct sockaddr_in6 *dst; local
168 dst = (struct sockaddr_in6 *)&ro.ro_dst;
171 || !IN6_ARE_ADDR_EQUAL(&dst->sin6_addr, &ip6->ip6_dst))) {
176 bzero(dst, sizeof(*dst));
177 dst->sin6_family = AF_INET6;
178 dst->sin6_len = sizeof(struct sockaddr_in6);
179 dst->sin6_addr = ip6->ip6_dst;
H A Dipsec.c787 * protocol family, src, dst, next protocol
905 * configure security policy index (src/dst/proto/sport/dport)
1013 ((struct sockaddr_in *)&spidx->dst)->sin_port = IPSEC_PORT_ANY;
1037 ((struct sockaddr_in *)&spidx->dst)->sin_port =
1049 ((struct sockaddr_in *)&spidx->dst)->sin_port =
1092 sin = (struct sockaddr_in *)&spidx->dst;
1122 ((struct sockaddr_in6 *)&spidx->dst)->sin6_port = IPSEC_PORT_ANY;
1138 ((struct sockaddr_in6 *)&spidx->dst)->sin6_port = th.th_dport;
1148 ((struct sockaddr_in6 *)&spidx->dst)->sin6_port = uh.uh_dport;
1186 sin6 = (struct sockaddr_in6 *)&spidx->dst;
1303 struct secpolicy *dst; local
[all...]
H A Dnd6.c427 struct sockaddr_in6 *dst; local
441 dst = (struct sockaddr_in6 *)rt_key(rt);
485 if (!dst) {
486 printf("dst=0 in nd6_timer(ln=%p)\n", ln);
497 nd6_ns_output(ifp, NULL, &dst->sin6_addr,
541 nd6_ns_output(ifp, &dst->sin6_addr,
542 &dst->sin6_addr,
554 nd6_ns_output(ifp, &dst->sin6_addr,
555 &dst->sin6_addr, ln, 0, 0);
1953 struct sockaddr_in6 *dst,
1949 nd6_output( struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m0, struct sockaddr_in6 *dst, struct rtentry *rt0, int locked) argument
2205 nd6_storelladdr( struct ifnet *ifp, struct rtentry *rt, struct mbuf *m, struct sockaddr *dst, u_char *desten) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/
H A Dpanic_dialog.c578 volatile unsigned char * dst; local
588 dst = (volatile unsigned char *) (vinfo.v_baseaddr +
608 *(dst + col) = data;
616 dst = (volatile unsigned char *) (((int)dst) + vinfo.v_rowbytes);
632 volatile unsigned short * dst; local
637 dst = (volatile unsigned short *) (vinfo.v_baseaddr +
658 *(dst + col) = data;
666 dst = (volatile unsigned short *) (((int)dst)
681 volatile unsigned int * dst; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOHibernateRestoreKernel.c247 uint64_t dst; local
250 dst = ptoa_64(ppnum);
252 buffer = (uint32_t *) (uint32_t) dst;
262 if (((uint64_t) (uint32_t) src) == dst)
265 hibernate_restore_phys_page((uint64_t) (uint32_t) src, dst, PAGE_SIZE, procFlags);
271 bcopy_internal(const void *src, void *dst, uint32_t len) argument
274 char *d = dst;
452 uint32_t * dst; local
478 dst = (uint32_t *) ptoa_32(bufferPage);
480 dst[id
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_flow.c109 struct in_addr dst,
116 hash += (dst.s_addr >> (32 - idx)) + (src.s_addr >> idx);
147 struct sockaddr *dst; local
199 dst = rt->rt_gateway;
201 dst = &ipf->ipf_ro.ro_dst;
204 if ((error = dlil_output(rt->rt_ifp, PF_INET, m, (caddr_t) rt, dst, 0)) != 0) {
207 if ((error = (*rt->rt_ifp->if_output)(rt->rt_ifp, m, dst, rt)) != 0) {
108 ipflow_hash( struct in_addr dst, struct in_addr src, unsigned tos) argument
H A Dip_output.c188 * header (with len, off, ttl, proto, tos, src, dst).
244 struct sockaddr_in *dst = NULL; local
291 dst = dn_tag->dn_dst;
419 dst = (struct sockaddr_in *)&ro->ro_dst;
440 dst->sin_family != AF_INET ||
441 dst->sin_addr.s_addr != pkt_dst.s_addr) {
455 bzero(dst, sizeof(*dst));
456 dst->sin_family = AF_INET;
457 dst
2698 struct sockaddr_in *dst; local
[all...]
H A Dif_atm.c234 * [3] "dst" = sockaddr_in (IP) address of dest.
246 atmresolve(rt, m, dst, desten)
250 register struct sockaddr *dst;
262 rt = RTALLOC1(dst, 0);
H A Dip_encap.c82 * The code will let you match protocol via src/dst address pair.
210 * if both src/dst are matched for IPv4, 64 should be returned).
217 * src=3ffe::/16, dst=3ffe:501::/32
218 * src=3ffe:501::/32, dst=3ffe::/16
339 * sp (src ptr) is always my side, and dp (dst ptr) is always remote side.
356 if (sp->sa_len > sizeof(ep->src) || dp->sa_len > sizeof(ep->dst)) {
379 if (ep->dst.ss_len != dp->sa_len ||
380 bcmp(&ep->dst, dp, dp->sa_len) != 0 ||
399 bcopy(dp, &ep->dst, dp->sa_len);
487 if (sp->sa_len != ep->src.ss_len || dp->sa_len != ep->dst
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Drtsock.c120 #define dst info.rti_info[RTAX_DST] macro
330 dst = NULL;
335 dst = NULL;
340 dst = NULL;
360 dst = NULL;
367 dst = NULL;
370 if (dst == NULL || (dst->sa_family >= AF_MAX) ||
375 if (dst->sa_family == AF_INET && dst
[all...]
H A Dif_fddisubr.c127 fddi_output(ifp, m0, dst, rt0)
130 struct sockaddr *dst;
147 if (rt0 = rt = RTALLOC1(dst, 1))
168 switch (dst->sa_family) {
173 if (!ARPRESOLVE(ac, rt, m, dst, edst, rt0))
177 if (!arpresolve(ac, m, &((struct sockaddr_in *)dst)->sin_addr, edst, &usetrailers))
187 bcopy((caddr_t)&(((struct sockaddr_ipx *)dst)->sipx_addr.x_host),
195 bcopy((caddr_t)&(((struct sockaddr_ns *)dst)->sns_addr.x_host),
209 iso_snparesolve(ifp, (struct sockaddr_iso *)dst,
264 eh = (struct ether_header *)dst
[all...]
H A Drtsock_mip.c54 dst = sa = rt_key(rt);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dnetboot.c220 char * dst; local
228 for (dst = colon - 1, src = colon; *dst != '\0'; dst++, src++) {
229 *dst = *src;
543 struct sockaddr_in dst; local
551 bzero((caddr_t)&dst, sizeof(dst));
552 dst.sin_len = sizeof(dst);
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/headers/
H A DBTreesPrivate.h467 u_int8_t * dst,
470 #define MoveRecordsLeft(src,dst,bytes) bcopy((src),(dst),(bytes))
473 u_int8_t * dst,
476 #define MoveRecordsRight(src,dst,bytes) bcopy((src),(dst),(bytes))
/macosx-10.5.8/xnu-1228.15.4/
H A DMakefile11 export DSTROOT=$(SRCROOT)/BUILD/dst
/macosx-10.5.8/xnu-1228.15.4/bsd/uuid/
H A Duuid.h56 void uuid_copy(uuid_t dst, const uuid_t src);
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_fslog.c299 char *src, *dst; local
317 dst = src + count;
319 *dst-- = *src;
322 *dst-- = '\\';
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/
H A Dkdp_vm.c113 * dst, translating if necessary. If translation is enabled
120 caddr_t dst,
130 kprintf("kdp_vm_read1: src %x dst %x len %x - %08X %08X\n", src, dst, len, ((unsigned long *)src)[0], ((unsigned long *)src)[1]);
134 cur_virt_dst = (addr64_t)((unsigned int)dst);
208 caddr_t dst,
216 printf("kdp_vm_write: src %x dst %x len %x - %08X %08X\n", src, dst, len, ((unsigned long *)src)[0], ((unsigned long *)src)[1]);
220 cur_virt_dst = (addr64_t)((unsigned int)dst);
118 kdp_vm_read( caddr_t src, caddr_t dst, unsigned len) argument
206 kdp_vm_write( caddr_t src, caddr_t dst, unsigned len) argument
/macosx-10.5.8/xnu-1228.15.4/libkern/uuid/
H A Duuid.c98 uuid_copy(uuid_t dst, const uuid_t src) argument
100 memcpy(dst, src, sizeof(uuid_t));
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace_glue.c1204 dtrace_copyin(user_addr_t src, uintptr_t dst, size_t len) argument
1206 if (dtrace_copycheck( src, dst, len )) {
1207 if (copyin((const user_addr_t)src, (char *)dst, (vm_size_t)len)) {
1216 dtrace_copyinstr(user_addr_t src, uintptr_t dst, size_t len) argument
1220 if (dtrace_copycheck( src, dst, len )) {
1222 int error = copyinstr((const user_addr_t)src, (char *)dst, (vm_size_t)len, &actual);
1239 dtrace_copyout(uintptr_t src, user_addr_t dst, size_t len) argument
1241 if (dtrace_copycheck( dst, src, len )) {
1242 if (copyout((const void *)src, dst, (vm_size_t)len)) {
1244 cpu_core[CPU->cpu_id].cpuc_dtrace_illval = dst;
1251 dtrace_copyoutstr(uintptr_t src, user_addr_t dst, size_t len) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/BTree/
H A DBTreeMiscOps.c610 u_int8_t * dst; local
612 dst = GetRecordAddress (btreePtr, nodePtr, index);
617 dst += keySize; // skip over key to point at record
619 BlockMoveData(record->bufferAddress, dst, recordLen); // blast away...

Completed in 122 milliseconds

1234