Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/net/
H A Dnecp.h1381 …rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family);
H A Dnecp.c11570 …_rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family) in necp_packet_can_rebind_to_ifnet() argument
11577 …if (packet == NULL || interface == NULL || new_route == NULL || (family != AF_INET && family != AF… in necp_packet_can_rebind_to_ifnet()
11609 ROUTE_RELEASE(new_route); in necp_packet_can_rebind_to_ifnet()
11613 struct sockaddr_in *dst4 = (struct sockaddr_in *)(void *)&new_route->ro_dst; in necp_packet_can_rebind_to_ifnet()
11617 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
11618 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()
11623 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)(void *)&new_route->ro_dst; in necp_packet_can_rebind_to_ifnet()
11627 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
11628 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()