Home
last modified time | relevance | path

Searched refs:new_route (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.1.9/bsd/net/
H A Dnecp.h1523 …rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family);
H A Dnecp.c13721 …_rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family) in necp_packet_can_rebind_to_ifnet() argument
13728 …if (packet == NULL || interface == NULL || new_route == NULL || (family != AF_INET && family != AF… in necp_packet_can_rebind_to_ifnet()
13760 ROUTE_RELEASE(new_route); in necp_packet_can_rebind_to_ifnet()
13764 struct sockaddr_in *dst4 = SIN(&new_route->ro_dst); in necp_packet_can_rebind_to_ifnet()
13768 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
13769 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()
13774 struct sockaddr_in6 *dst6 = SIN6(SA(&new_route->ro_dst)); in necp_packet_can_rebind_to_ifnet()
13778 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
13779 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()