Home
last modified time | relevance | path

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

/xnu-11417.140.69/bsd/net/
H A Dnecp.h1497 …rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family);
H A Dnecp.c13577 …_rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family) in necp_packet_can_rebind_to_ifnet() argument
13584 …if (packet == NULL || interface == NULL || new_route == NULL || (family != AF_INET && family != AF… in necp_packet_can_rebind_to_ifnet()
13616 ROUTE_RELEASE(new_route); in necp_packet_can_rebind_to_ifnet()
13620 struct sockaddr_in *dst4 = SIN(&new_route->ro_dst); in necp_packet_can_rebind_to_ifnet()
13624 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
13625 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()
13630 struct sockaddr_in6 *dst6 = SIN6(SA(&new_route->ro_dst)); in necp_packet_can_rebind_to_ifnet()
13634 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
13635 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()