Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/net/
H A Dnecp.h1443 …rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family);
H A Dnecp.c12443 …_rebind_to_ifnet(struct mbuf *packet, struct ifnet *interface, struct route *new_route, int family) in necp_packet_can_rebind_to_ifnet() argument
12450 …if (packet == NULL || interface == NULL || new_route == NULL || (family != AF_INET && family != AF… in necp_packet_can_rebind_to_ifnet()
12482 ROUTE_RELEASE(new_route); in necp_packet_can_rebind_to_ifnet()
12486 struct sockaddr_in *dst4 = (struct sockaddr_in *)(void *)&new_route->ro_dst; in necp_packet_can_rebind_to_ifnet()
12490 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
12491 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()
12496 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)(void *)&new_route->ro_dst; in necp_packet_can_rebind_to_ifnet()
12500 rtalloc_scoped(new_route, if_idx); in necp_packet_can_rebind_to_ifnet()
12501 if (!ROUTE_UNUSABLE(new_route)) { in necp_packet_can_rebind_to_ifnet()