Searched refs:dst4 (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dif_stf.c526 struct sockaddr_in *dst4; local
606 dst4 = (struct sockaddr_in *)(void *)&sc->sc_ro.ro_dst;
607 if (dst4->sin_family != AF_INET ||
608 bcmp(&dst4->sin_addr, &ip->ip_dst, sizeof(ip->ip_dst)) != 0) {
610 dst4->sin_family = AF_INET;
611 dst4->sin_len = sizeof(struct sockaddr_in);
612 bcopy(&ip->ip_dst, &dst4->sin_addr, sizeof(dst4->sin_addr));
H A Dif_utun_crypto_ipsec.c722 struct sockaddr_in *dst4; local
765 dst4 = (struct sockaddr_in *)(void *)&ro->ro_dst;
772 dst4->sin_addr.s_addr != ip->ip_dst.s_addr)) {
778 dst4->sin_family = AF_INET;
779 dst4->sin_len = sizeof(*dst4);
780 dst4->sin_addr = ip->ip_dst;
792 dst4 = (struct sockaddr_in *)(void *)ro->ro_rt->rt_gateway;
/darwin-on-arm/xnu/bsd/netinet6/
H A Dipsec.c3002 struct sockaddr_in *dst4; local
3157 dst4 = (struct sockaddr_in *)(void *)&ro4->ro_dst;
3164 dst4->sin_addr.s_addr != ip->ip_dst.s_addr)) {
3170 dst4->sin_family = AF_INET;
3171 dst4->sin_len = sizeof(*dst4);
3172 dst4->sin_addr = ip->ip_dst;
3194 dst4 = (struct sockaddr_in *)(void *)ro4->ro_rt->rt_gateway;
3201 state->dst = (struct sockaddr *)dst4;
3589 struct sockaddr_in* dst4; local
[all...]

Completed in 23 milliseconds