Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/net/
H A Dnecp.h1521 …rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family);
H A Dnecp.c13710 …_rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family) in necp_packet_can_rebind_to_ifnet() argument
13717 …if (packet == NULL || interface == NULL || new_route == NULL || (family != AF_INET && family != AF… in necp_packet_can_rebind_to_ifnet()
13749 ROUTE_RELEASE(new_route); in necp_packet_can_rebind_to_ifnet()
13753 struct sockaddr_in *dst4 = SIN(&new_route->ro_dst); in necp_packet_can_rebind_to_ifnet()
13757 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
13758 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()
13763 struct sockaddr_in6 *dst6 = SIN6(SA(&new_route->ro_dst)); in necp_packet_can_rebind_to_ifnet()
13767 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
13768 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()