Home
last modified time | relevance | path

Searched refs:__DECONST_SA (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.41.6/bsd/net/
H A Dsockaddr_utils.h343 #define __DECONST_SA(s) __SA_UTILS_DECONST_AND_CONV_TO_SOCKADDR((s)) macro
H A Droute.c1750 dst = sa_copy(__DECONST_SA(dst), &dst_ss, IN6_NULL_IF_EMBEDDED_SCOPE(&ifscope)); in ifa_ifwithroute_common_locked()
1756 gw = sa_copy(__DECONST_SA(gw), &gw_ss, IN6_NULL_IF_EMBEDDED_SCOPE(&ifscope)); in ifa_ifwithroute_common_locked()
1791 rt = rtalloc1_scoped_locked(__DECONST_SA(dst), in ifa_ifwithroute_common_locked()
1829 !sa_equal(ifa->ifa_addr, __DECONST_SA(gw)))) && in ifa_ifwithroute_common_locked()
1830 (rt = rtalloc1_scoped_locked(__DECONST_SA(gw), in ifa_ifwithroute_common_locked()
4251 __DECONST_SA(net_dest), 1, 0, ifindex); in route_to_gwroute()
H A Dntstat.c1313 dst = __DECONST_SA(&param->dst.v4); in nstat_route_lookup()
1314 mask = param->mask.v4.sin_family ? __DECONST_SA(&param->mask.v4) : NULL; in nstat_route_lookup()
H A Ddlil.c4111 struct sockaddr *target_proto = __DECONST_SA(target_proto0); in dlil_send_arp()
/xnu-12377.41.6/bsd/kern/
H A Dkpi_socketfilter.c1048 SOCKADDR_COPY(sa, __DECONST_SA(nam), nam->sa_len); in sflt_connectout()
1615 __DECONST_SA(from), data, control, NULL)) { in sock_inject_data_in()
1667 error = sosend(so, __DECONST_SA(to), NULL, in sock_inject_data_out()
/xnu-12377.41.6/bsd/netinet/
H A Din_arp.c2238 route = rtalloc1_scoped(__DECONST_SA(target_ip), 0, 0, ifp->if_index); in arp_ip_handle_input()