Home
last modified time | relevance | path

Searched refs:RTF_UP (Results 1 – 25 of 26) sorted by relevance

12

/xnu-8020.140.41/tools/lldbmacros/ !
H A Droutedefines.py1 RTF_UP = 0x1 variable
H A Dnet.py760 if (rt.rt_flags & RTF_UP):
/xnu-8020.140.41/bsd/net/ !
H A Droute.h158 ((_ro)->ro_rt->rt_flags & (RTF_UP|RTF_CONDEMNED)) != RTF_UP || \
290 #define RTF_UP 0x1 /* route usable */ macro
H A Droute.c1228 if (!(rt->rt_flags & RTF_UP)) { in rtfree_common()
1970 rt->rt_flags &= ~RTF_UP; in rtrequest_common_locked()
2235 rt->rt_flags = RTF_UP | flags; in rtrequest_common_locked()
3355 if ((rt->rt_flags & (RTF_UP | RTF_CONDEMNED)) == RTF_UP) { in rt_validate()
3714 (rt->rt_flags & (RTF_UP | RTF_WASCLONED | RTF_IFREF)) == in rt_set_idleref()
3715 (RTF_UP | RTF_WASCLONED)) { in rt_set_idleref()
4151 if (!(rt->rt_flags & RTF_UP)) { in route_to_gwroute()
4195 if (!(gwrt->rt_flags & RTF_UP)) { in route_to_gwroute()
4213 if (!(rt->rt_flags & RTF_UP) || gwrt == NULL || in route_to_gwroute()
4258 if ((hint->rt_flags & (RTF_WASCLONED | RTF_UP)) == in route_to_gwroute()
[all …]
H A Dif_llreach.c435 (gwrt->rt_flags & RTF_UP)) { in ifnet_llreach_get_defrouter()
H A Dif_var.h1543 #define IFA_ROUTE RTF_UP /* route installed (0x1) */
H A Dntstat.c686 return ((rt->rt_flags & RTF_UP) == 0) ? 1 : 0; in nstat_route_gone()
702 if (out_gone && (rt->rt_flags & RTF_UP) == 0) { in nstat_route_counts()
749 if ((rt->rt_flags & RTF_UP) != 0) { in nstat_route_walktree_add()
819 if ((rt->rt_flags & RTF_UP) != 0) { in nstat_route_new_entry()
/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/ !
H A Dfsw_ethernet.c134 if (tgt_rt == NULL || !(tgt_rt->rt_flags & RTF_UP) || in fsw_ethernet_resolve()
306 if ((tgt_rt->rt_flags & (RTF_UP | RTF_LLINFO)) != in fsw_ethernet_resolve()
307 (RTF_UP | RTF_LLINFO) || ln == NULL) { in fsw_ethernet_resolve()
H A Dfsw.c2139 if (tgt_rt == NULL || !(tgt_rt->rt_flags & RTF_UP) || in fsw_generic_resolve()
/xnu-8020.140.41/bsd/netinet6/ !
H A Dnd6.c4097 if (!(rt->rt_flags & RTF_UP)) { in nd6_output_list()
4156 if (!(rt->rt_flags & RTF_UP)) { in nd6_output_list()
4175 if (!(gwrt->rt_flags & RTF_UP)) { in nd6_output_list()
4191 if (!(rt->rt_flags & RTF_UP) || in nd6_output_list()
4234 if ((hint->rt_flags & (RTF_WASCLONED | RTF_UP)) == in nd6_output_list()
4235 (RTF_WASCLONED | RTF_UP)) { in nd6_output_list()
4250 if (!(rt->rt_flags & RTF_UP)) { in nd6_output_list()
H A Din6_src.c1251 !(route->ro_rt->rt_flags & RTF_UP))) { in selectroute()
1259 (route->ro_rt->rt_flags & (RTF_UP | RTF_PROXY)) == in selectroute()
1260 (RTF_UP | RTF_PROXY)) { in selectroute()
H A Din6_rmx.c466 if (!(rt->rt_flags & RTF_UP)) { in in6_clsroute()
H A Din6.c307 (struct sockaddr *)&all1_sa, RTF_UP | RTF_HOST | RTF_LLINFO, &nrt); in in6_ifloop_request()
2214 (struct sockaddr *)&mltmask, RTF_UP | RTF_CLONING, in in6_ifaupdate_aux()
2293 (struct sockaddr *)&mltmask, RTF_UP | RTF_CLONING, in in6_ifaupdate_aux()
2343 (struct sockaddr *)&mltmask, RTF_UP | RTF_CLONING, in in6_ifaupdate_aux()
2969 error = rtinit(ifa, RTM_ADD, RTF_UP | RTF_HOST); in in6_ifinit()
4866 ndpc.rtm.rtm_flags = RTF_UP; in in6_lltable_dump_entry()
H A Dicmp6.c2752 if (!m0 || !rt || !(rt->rt_flags & RTF_UP) || !(ifp = rt->rt_ifp)) { in icmp6_redirect_output()
H A Dnd6_rtr.c3686 rtflags = ifa->ifa_flags | RTF_CLONING | RTF_UP; in nd6_prefix_onlink_common()
/xnu-8020.140.41/bsd/kern/ !
H A Dnetboot.c519 uint32_t flags = RTF_UP | RTF_STATIC; in route_cmd()
/xnu-8020.140.41/bsd/netinet/ !
H A Din_rmx.c381 if (!(rt->rt_flags & RTF_UP)) { in in_clsroute()
H A Din.c1004 RTF_HOST | RTF_UP); in inctl_ifdstaddr()
1724 int flags = RTF_UP, error; in in_ifinit()
2656 arpc.rtm.rtm_flags = RTF_UP; in in_lltable_dump_entry()
H A Draw_ip.c894 flags = RTF_UP; in rip_ctlinput()
H A Dtcp_output.c783 if (rt->rt_flags & RTF_UP) { in tcp_output()
795 (!(rt->rt_flags & RTF_UP) || in tcp_output()
H A Dip_output.c1661 if ((ro->ro_rt->rt_flags & (RTF_UP | RTF_HOST)) && in ip_output_list()
3242 !(ro->ro_rt->rt_flags & RTF_UP))) { in in_selectsrcif()
H A Din_arp.c2044 if (!(route->rt_flags & RTF_UP)) { in arp_ip_handle_input()
H A Dtcp_subr.c3005 (!(rt->rt_flags & RTF_UP) || (rt->rt_rmx.rmx_locks & RTV_MTU)))) { in tcp_rtlookup()
3113 (!(rt->rt_flags & RTF_UP) || (rt->rt_rmx.rmx_locks & RTV_MTU)))) { in tcp_rtlookup6()
/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/flow/ !
H A Dflow_route.c413 if (rt == NULL || !(rt->rt_flags & RTF_UP) || fr->fr_want_configure) { in flow_route_configure()
/xnu-8020.140.41/tests/ !
H A Dnet_bridge.c617 rtmsg.hdr.rtm_flags = RTF_UP | RTF_STATIC; in IPv4RouteApply()

12