Searched refs:rt_ifp (Results 1 - 25 of 39) sorted by relevance

12

/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_forward.c156 if (rt->rt_ifp->if_index != ifscope) {
193 /* XXX in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard) */
209 /* XXX in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard) */
459 if (in6_setscope(&src_in6, rt->rt_ifp, &outzone)) {
476 in6_ifstat_inc(rt->rt_ifp, ifs6_in_discard);
486 if_name(m->m_pkthdr.rcvif), if_name(rt->rt_ifp));
508 in6_setscope(&dst_in6, rt->rt_ifp, &outzone) != 0 ||
516 if (m->m_pkthdr.len > rt->rt_ifp->if_mtu) {
517 in6_ifstat_inc(rt->rt_ifp, ifs6_in_toobig);
526 mtu = rt->rt_ifp
[all...]
H A Din6_gif.c204 sc->gif_ro6.ro_rt->rt_ifp == ifp))) {
227 if (sc->gif_ro6.ro_rt->rt_ifp == ifp) {
233 ifp->if_mtu = sc->gif_ro6.ro_rt->rt_ifp->if_mtu
361 if (!rt || rt->rt_ifp != ifp) {
H A Din6_rmx.c210 && rt->rt_ifp)
211 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu;
268 && rt2->rt_ifp == rt->rt_ifp) {
H A Din6_src.c714 struct ifnet *rt_ifp; local
716 rt_ifp = (ro->ro_rt != NULL) ? ro->ro_rt->rt_ifp : NULL;
728 scope = rt_ifp->if_index;
757 if_name(rt_ifp));
817 (ifa->ifa_ifp != ron->ro_rt->rt_ifp && !proxied_ifa))))) ||
845 ifp = ifp0 = ron->ro_rt->rt_ifp;
877 (ifa->ifa_ifp != ro->ro_rt->rt_ifp && !proxied_ifa))))) {
915 ifp = ifp0 = ro->ro_rt->rt_ifp;
1009 route->ro_rt->rt_ifp
[all...]
H A Dudp6_output.c352 in6p->in6p_route.ro_rt->rt_ifp : NULL);
442 (outif = rt->rt_ifp) != in6p->in6p_last_outifp)
H A Dnd6_nbr.c181 rt->rt_ifp != lo_ifp &&
997 if (rt->rt_ifp != ifp) {
1007 rt->rt_if_ref_fn(rt->rt_ifp, -1);
1011 rt->rt_ifp = ifp;
1047 ndi = ND_IFINFO(rt->rt_ifp);
1171 struct ifnet *rt_ifp = rt->rt_ifp; local
1178 dr = defrouter_lookup(in6, rt_ifp);
1193 rt6_flush(&ip6->ip6_src, rt_ifp);
H A Draw_ip6.c482 if (in6p->in6p_route.ro_rt->rt_ifp != NULL)
483 index = in6p->in6p_route.ro_rt->rt_ifp->if_index;
588 (outif = rt->rt_ifp) != in6p->in6p_last_outifp)
888 outif = inp->in6p_route.ro_rt->rt_ifp;
H A Din6_pcb.c453 if (rt != NULL && rt->rt_ifp != *outif) {
454 ifnet_reference(rt->rt_ifp); /* for caller */
457 *outif = rt->rt_ifp;
H A Dnd6.c685 /* rt->rt_ifp should never be NULL */
686 if ((ifp = rt->rt_ifp) == NULL) {
687 panic("%s: ln(%p) rt(%p) rt_ifp == NULL", __func__,
1287 * Note that rt->rt_ifp may not be the same as ifp,
1438 * XXX: we can't use rt->rt_ifp to check for the interface, since
1636 rt_key(rt))->sin6_addr, rt->rt_ifp);
1646 rt6_flush(&in6, rt->rt_ifp);
1682 defrouter_select(rt->rt_ifp);
1761 ndi = ND_IFINFO(rt->rt_ifp);
1783 struct ifnet *ifp = rt->rt_ifp;
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Din_arp.c430 rt->rt_expire != 0 && rt->rt_ifp != lo_ifp &&
617 SDL(gate)->sdl_type = rt->rt_ifp->if_type;
618 SDL(gate)->sdl_index = rt->rt_ifp->if_index;
632 dlil_send_arp(rt->rt_ifp, ARPOP_REQUEST,
644 SDL(gate)->sdl_type = rt->rt_ifp->if_type;
645 SDL(gate)->sdl_index = rt->rt_ifp->if_index;
678 dlil_resolve_multi(rt->rt_ifp, rt_key(rt), gate,
683 else if (in_broadcast(SIN(rt_key(rt))->sin_addr, rt->rt_ifp)) {
686 ifnet_llbroadcast_copy_bytes(rt->rt_ifp,
724 ifnet_lladdr_copy_bytes(rt->rt_ifp, LLADD
[all...]
H A Din_gif.c196 sc->gif_ro.ro_rt->rt_ifp == ifp))) {
219 if (sc->gif_ro.ro_rt->rt_ifp == ifp) {
225 ifp->if_mtu = sc->gif_ro.ro_rt->rt_ifp->if_mtu
398 if (rt == NULL || rt->rt_ifp != m->m_pkthdr.rcvif) {
H A Din_rmx.c142 if (in_broadcast(sin->sin_addr, rt->rt_ifp)) {
156 && rt->rt_ifp)
157 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu;
H A Dip_output.c734 if (ro->ro_rt->rt_ifp->if_type ==
760 ifp = ro->ro_rt->rt_ifp;
1272 ifp = ro->ro_rt->rt_ifp;
1565 ifp = ro_fwd->ro_rt->rt_ifp;
3106 struct ifnet *rt_ifp; local
3117 rt_ifp = (ro->ro_rt != NULL) ? ro->ro_rt->rt_ifp : NULL;
3139 scope = rt_ifp->if_index;
3168 if_name(rt_ifp));
3216 if (ifa->ifa_ifp != rt->rt_ifp) {
[all...]
H A Dtcp_subr.c731 ro6->ro_rt->rt_ifp :
782 } else if ((outif = ro6->ro_rt->rt_ifp) !=
809 (outif = sro.ro_rt->rt_ifp) !=
1799 rt->rt_ifp->if_mtu; */
2179 tp->t_state == TCPS_SYN_SENT && rt != NULL && rt->rt_ifp != NULL &&
2180 (rt->rt_ifp->if_eflags & IFEF_NOWINDOWSCALE)) {
2186 if (rt != NULL && rt->rt_ifp != NULL) {
2188 (rt->rt_ifp->if_hwassist & IFNET_MULTIPAGES));
2189 tcp_set_tso(tp, rt->rt_ifp);
2270 tp->t_state == TCPS_SYN_SENT && rt != NULL && rt->rt_ifp !
[all...]
H A Dip_input.c2463 if (rt->rt_ifp == m->m_pkthdr.rcvif &&
2560 if (rt->rt_ifp != NULL)
2561 nextmtu = rt->rt_ifp->if_mtu;
2578 if (rt->rt_ifp != NULL)
2579 nextmtu = rt->rt_ifp->if_mtu;
2634 if (ro->ro_rt->rt_ifp != NULL) {
2635 nextmtu = ro->ro_rt->rt_ifp->if_mtu;
H A Dtcp_input.c4283 maxmtu = rt->rt_ifp->if_mtu;
4285 maxmtu = MIN(rt->rt_rmx.rmx_mtu, rt->rt_ifp->if_mtu);
4299 if ((ndi = ND_IFINFO(rt->rt_ifp)) != NULL && !ndi->initialized)
4304 maxmtu = IN6_LINKMTU(rt->rt_ifp);
4306 maxmtu = MIN(rt->rt_rmx.rmx_mtu, IN6_LINKMTU(rt->rt_ifp));
4387 rt->rt_ifp->if_flags & IFF_LOOPBACK ||
4402 ifp = rt->rt_ifp;
4608 if (rt->rt_ifp->if_type == IFT_PPP && slowlink_wsize > 0 &&
4609 rt->rt_ifp->if_baudrate > 9600 && rt->rt_ifp
[all...]
H A Din_pcb.c763 (ro->ro_rt == NULL || ro->ro_rt->rt_ifp == NULL)) {
783 if (ro->ro_rt->rt_ifp->if_type == IFT_CELLULAR) {
801 if (!(ro->ro_rt->rt_ifp->if_flags & IFF_LOOPBACK)) {
2260 struct ifnet *ifp = rt->rt_ifp;
H A Dtcp_output.c434 if ((ifp = rt->rt_ifp) != NULL) {
1719 tp->t_inpcb->in6p_route.ro_rt->rt_ifp
2170 if (ro6.ro_rt != NULL && (outif = ro6.ro_rt->rt_ifp) !=
2175 if (ro.ro_rt != NULL && (outif = ro.ro_rt->rt_ifp) !=
H A Din_tclass.c935 (rt->rt_ifp->if_flags & (IFF_LOOPBACK|IFF_POINTOPOINT)))) {
936 if (!(rt->rt_ifp->if_flags & IFF_POINTOPOINT))
/darwin-on-arm/xnu/bsd/net/
H A Droute.c145 * rt_key, rt_gateway, rt_ifp, rt_ifa
154 * entry will prevent its rt_key, rt_gateway, rt_ifp and rt_ifa
808 if (rt->rt_ifp != NULL && (rt->rt_flags & RTF_UP) &&
1837 ifscope = rt->rt_ifp->if_index;
1911 rt->rt_ifp = rt->rt_ifa->ifa_ifp;
2023 rt->rt_ifp->if_index);
2349 * we're holding rnh_lock now, so rt_gateway and rt_ifp of gwrt
2353 gwrt != NULL && gwrt->rt_ifp != NULL &&
2354 gwrt->rt_ifp->if_index != ifscope) {
2380 if (rt_primary_default(rt, dst) && rt->rt_ifp !
[all...]
H A Drtsock.c581 ifp = rt->rt_ifp;
594 } else if ((ifp = rt->rt_ifp) != NULL) {
913 if (rt->rt_ifp != ifp) {
925 rt->rt_if_ref_fn(rt->rt_ifp, -1);
928 rt->rt_ifp = ifp;
935 rt->rt_ifp->if_index);
1410 rtm->rtm_index = rt->rt_ifp->if_index;
1428 rtm->rtm_index = rt->rt_ifp->if_index;
1475 ertm->rtm_index = rt->rt_ifp->if_index;
H A Dnetsrc.c158 if (ia->ia_ifp == rt->rt_ifp) {
H A Droute.h171 struct ifnet *rt_ifp; /* the answer: interface to use */ member in struct:rtentry
H A Dif_loop.c484 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; /* for ISO */
H A Dif_stf.c697 if (rt == NULL || rt->rt_ifp != inifp) {

Completed in 203 milliseconds

12