Searched refs:dst (Results 51 - 75 of 93) sorted by relevance

1234

/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif_pppvar.h142 struct sockaddr *dst, struct rtentry *rtp);
H A Draw_usrreq.c110 struct sockaddr *dst)
140 if (rp->rcb_laddr && !equal(rp->rcb_laddr, dst))
109 raw_input(struct mbuf *m0, struct sockproto *proto, struct sockaddr *src, struct sockaddr *dst) argument
H A Dether_inet_pr_module.c116 _ip_copy(struct in_addr * dst, const struct in_addr * src) argument
118 *dst = *src;
H A Dif.c136 static int if_clone_list(int count, int * total, user_addr_t dst);
491 if_clone_list(int count, int * total, user_addr_t dst) argument
498 if (dst == USER_ADDR_NULL) {
509 ifc = LIST_NEXT(ifc, ifc_list), count--, dst += IFNAMSIZ) {
511 error = copyout(outbuf, dst, IFNAMSIZ);
766 #if INET6 /* XXX: for maching gif tunnel dst as routing entry gateway */
945 struct sockaddr *dst; local
949 ((ifp = ifa->ifa_ifp) == 0) || ((dst = rt_key(rt)) == 0))
951 ifa = ifaof_ifpforaddr(dst, ifp);
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dddp_usrreq.c205 struct sockaddr_at *dst = local
207 NET_ASSIGN(ddp->dst_net, dst->sat_addr.s_net);
208 ddp->dst_node = dst->sat_addr.s_node;
209 ddp->dst_socket = dst->sat_port;
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkeydb.h45 struct sockaddr_storage dst; /* destination address for SA */ member in struct:secasindex
H A Dkey.c374 bcopy((d), &(idx)->dst, ((struct sockaddr *)(d))->sa_len); \
388 bcopy((d), &(idx)->dst, ((struct sockaddr *)(d))->sa_len); \
676 idst->sa_len > sizeof(spidx.dst))
679 bcopy(idst, &spidx.dst, idst->sa_len);
684 id = (struct sockaddr *)&r1->saidx.dst;
691 od = (struct sockaddr *)&r2->saidx.dst;
761 * Remove dst port - used for special natt support - don't call
765 sin = (struct sockaddr_in *)&saidx->dst;
825 sin = (struct sockaddr_in *)&saidx->dst;
1033 key_allocsa(family, src, dst, prot
8079 key_checktunnelsanity( struct secasvar *sav, __unused u_int family, __unused caddr_t src, __unused caddr_t dst) argument
[all...]
H A Dkey_debug.c229 id->sadb_ident_exttype == SADB_EXT_IDENTITY_SRC ? "src" : "dst");
520 ipsec_hexdump((caddr_t)&spidx->dst,
521 ((struct sockaddr *)&spidx->dst)->sa_len);
541 ipsec_hexdump((caddr_t)&saidx->dst,
542 ((struct sockaddr *)&saidx->dst)->sa_len);
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Drtclock.h65 rtc_nanotime_t *dst);
H A Ddb_interface.c594 register char *dst; local
632 dst = (char *)addr;
640 *dst++ = *data++;
659 register char *dst; local
666 dst = (char *)kern_addr;
673 *dst++ = *data++;
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dpmap.h237 ppnum_t dst,
243 ppnum_t dst,
250 vm_offset_t dst,
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_fw2_compat.c121 {"dst-addr", DYN_DST_ADDR},
122 {"dst-port", DYN_DST_PORT},
1414 printf(("%s dst range set but n_dst_p=%d\n",
1515 ipfw_insn *action, *cmd, *src, *dst; local
1984 dst = curr_rule->cmd;
1988 dst->opcode = O_PROB;
1989 dst->len = 2;
1990 *((int32_t *)(dst+1)) = compat_rule->pipe_ptr;
1991 dst += dst
[all...]
H A Dip_fw2.c526 struct sockaddr_in *dst; local
528 dst = (struct sockaddr_in *)&(ro.ro_dst);
531 if (src.s_addr != dst->sin_addr.s_addr) {
534 bzero(dst, sizeof(*dst));
535 dst->sin_family = AF_INET;
536 dst->sin_len = sizeof(*dst);
537 dst->sin_addr = src;
2961 ipfw_dyn_rule *p, *dst, *las local
[all...]
H A Draw_ip.c315 rip_output(m, so, dst)
318 u_long dst;
346 ip->ip_dst.s_addr = dst;
771 register u_long dst; local
778 dst = inp->inp_faddr.s_addr;
784 dst = ((struct sockaddr_in *)nam)->sin_addr.s_addr;
786 return rip_output(m, so, dst);
H A Dip_icmp.c601 u_long src, dst, gw; local
604 dst = ntohl(icp->icmp_ip.ip_dst.s_addr);
610 (int)(dst >> 24), (int)((dst >> 16) & 0xff),
611 (int)((dst >> 8) & 0xff), (int)(dst & 0xff),
637 printf("redirect dst %s to %s\n",
697 * use dst as the src for the reply. Otherwise (broadcast
849 printf("icmp_send dst %s src %s\n",
H A Dip_input.c306 struct in_addr dst; /* final destination */ member in struct:ip_srcrt
1649 struct in_addr *sin, dst; local
1652 dst = ip->ip_dst;
1853 ipaddr.sin_addr = dst;
1914 ip_rtaddr(struct in_addr dst, struct route *rt) argument
1921 if (rt->ro_rt == 0 || dst.s_addr != sin->sin_addr.s_addr ||
1929 sin->sin_addr = dst;
1949 save_rte(u_char *option, struct in_addr dst) argument
1958 if (olen > sizeof(ip_srcrt) - (1 + sizeof(dst)))
1962 ip_srcrt.dst
[all...]
H A Dip_fw2.h253 u_char addr[12]; /* dst[6] + src[6] */
254 u_char mask[12]; /* dst[6] + src[6] */
454 struct sockaddr_in *dst; /* for dummynet */ member in struct:ip_fw_args
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/
H A Dkdp_vm.c109 caddr_t dst,
113 addr64_t cur_virt_dst = (addr64_t)((unsigned int)dst);
168 caddr_t dst,
176 printf("kdp_vm_write: src %x dst %x len %x - %08X %08X\n", src, dst, len, ((unsigned long *)src)[0], ((unsigned long *)src)[1]);
180 cur_virt_dst = (addr64_t)((unsigned int)dst);
107 kdp_vm_read( caddr_t src, caddr_t dst, unsigned len) argument
166 kdp_vm_write( caddr_t src, caddr_t dst, unsigned len) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/
H A Dvideo_console.c1846 volatile unsigned char * dst; local
1850 dst = (unsigned char *)(vinfo.v_baseaddr +
1859 *(dst + col) = data;
1861 dst = (volatile unsigned char *) (((int)dst) + vinfo.v_rowbytes);
1887 volatile unsigned short * dst; local
1891 dst = (volatile unsigned short *)(vinfo.v_baseaddr +
1923 back = *(dst + col);
1949 *(dst + col) = data;
1951 dst
1962 volatile unsigned int * dst; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dmld6.c393 const struct in6_addr *dst)
445 ip6->ip6_dst = dst ? *dst : in6m->in6m_addr;
390 mld6_sendpkt( struct in6_multi *in6m, int type, const struct in6_addr *dst) argument
H A Dipsec.h58 * Ensure that both address families in the "src" and "dst" are same.
60 * specifies ICMPv6 type, and the port field in "dst" specifies ICMPv6 code.
65 struct sockaddr_storage dst; /* IP dst address for SP */ member in struct:secpolicyindex
67 u_int8_t prefd; /* prefix length in bits for dst */
283 struct sockaddr *dst; member in struct:ipsec_output_state
H A Din6.c2167 * return length of part which dst and src are equal
2171 in6_matchlen(src, dst)
2172 struct in6_addr *src, *dst;
2175 u_char *s = (u_char *)src, *d = (u_char *)dst;
2248 struct in6_addr *dst)
2250 int dst_scope = in6_addrscope(dst), src_scope, best_scope = 0;
2274 if (in6_addr2scopeid(ifp, dst) != in6_addr2scopeid(oifp, dst))
2317 * If ifa_best has a smaller scope than dst and
2319 * (or equal to) dst, alway
2246 in6_ifawithscope( struct ifnet *oifp, struct in6_addr *dst) argument
2532 in6_ifawithifp( struct ifnet *ifp, struct in6_addr *dst) argument
[all...]
H A Dah_output.c171 struct in_addr dst = { 0 }; local
312 dst.s_addr = ip->ip_dst.s_addr;
332 ip->ip_dst.s_addr = dst.s_addr;
H A Dicmp6.c804 "icmp6_input: unknown type %d(src=%s, dst=%s, ifid=%d)\n",
1108 struct in6_addr *dst = ip6cp->ip6c_finaldst; local
1131 sin6.sin6_addr = *dst;
1133 if (IN6_IS_ADDR_LINKLOCAL(dst)) {
2117 * use dst as the src for the reply.
2132 * This is the case if the dst is our link-local address
2156 "dst=%s, error=%d\n",
2218 snprintf(buf, sizeof(buf), "(src=%s dst=%s tgt=%s)",
2300 "with inet6 gateway found for redirect dst: %s\n",
2320 "no route found for redirect dst
2861 struct sockaddr_in6 *dst; local
3034 icmp6_ratelimit( __unused const struct in6_addr *dst, __unused const int type, __unused const int code) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Ddb_sym.c100 char *dst,
233 char *dst,
236 if (!strcmp(src, dst))
239 return (!strcmp(src+1,dst));
231 db_eqname( char *src, char *dst, unsigned c) argument

Completed in 115 milliseconds

1234