Home
last modified time | relevance | path

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

12

/xnu-11417.101.15/tools/lldbmacros/
H A Droutedefines.py1 RTF_UP = 0x1 variable
/xnu-11417.101.15/bsd/net/
H A Droute.c1287 if (!(rt->rt_flags & RTF_UP)) { in rtfree_common()
2034 rt->rt_flags &= ~RTF_UP; in rtrequest_common_locked()
2299 rt->rt_flags = RTF_UP | flags; in rtrequest_common_locked()
3472 if ((rt->rt_flags & (RTF_UP | RTF_CONDEMNED)) == RTF_UP) { in rt_validate()
3826 (rt->rt_flags & (RTF_UP | RTF_WASCLONED | RTF_IFREF)) == in rt_set_idleref()
3827 (RTF_UP | RTF_WASCLONED)) { in rt_set_idleref()
4243 if (!(rt->rt_flags & RTF_UP)) { in route_to_gwroute()
4287 if (!(gwrt->rt_flags & RTF_UP)) { in route_to_gwroute()
4305 if (!(rt->rt_flags & RTF_UP) || gwrt == NULL || in route_to_gwroute()
4350 if ((hint->rt_flags & (RTF_WASCLONED | RTF_UP)) == in route_to_gwroute()
[all …]
H A Droute.h94 #define RTF_UP 0x1 /* route usable */ macro
H A Droute_private.h120 ((_ro)->ro_rt->rt_flags & (RTF_UP|RTF_CONDEMNED)) != RTF_UP || \
H A Dif_llreach.c436 (gwrt->rt_flags & RTF_UP)) { in ifnet_llreach_get_defrouter()
H A Dif_var_private.h1235 #define IFA_ROUTE RTF_UP /* route installed (0x1) */
H A Dntstat.c1038 return ((rt->rt_flags & RTF_UP) == 0) ? 1 : 0; in nstat_route_gone()
1054 if (out_gone && (rt->rt_flags & RTF_UP) == 0) { in nstat_route_counts()
1101 if ((rt->rt_flags & RTF_UP) != 0) { in nstat_route_walktree_add()
1171 if ((rt->rt_flags & RTF_UP) != 0) { in nstat_route_new_entry()
/xnu-11417.101.15/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ethernet.c136 if (tgt_rt == NULL || !(tgt_rt->rt_flags & RTF_UP) || in fsw_ethernet_resolve()
309 if ((tgt_rt->rt_flags & (RTF_UP | RTF_LLINFO)) != in fsw_ethernet_resolve()
310 (RTF_UP | RTF_LLINFO) || ln == NULL) { in fsw_ethernet_resolve()
H A Dfsw.c2299 if (tgt_rt == NULL || !(tgt_rt->rt_flags & RTF_UP) || in fsw_generic_resolve()
/xnu-11417.101.15/tests/
H A Dnet_test_lib.c703 rtmsg.hdr.rtm_flags = RTF_UP | RTF_STATIC; in IPv4RouteApply()
894 rtm->rtm_flags = RTF_UP | RTF_STATIC | RTF_GATEWAY | RTF_HOST; in has_ipv4_default_route()
939 rtm->rtm_flags = RTF_UP | RTF_STATIC | RTF_GATEWAY | RTF_HOST; in has_ipv6_default_route()
/xnu-11417.101.15/bsd/netinet6/
H A Dnd6.c3918 if (!(rt->rt_flags & RTF_UP)) { in nd6_output_list()
3977 if (!(rt->rt_flags & RTF_UP)) { in nd6_output_list()
3996 if (!(gwrt->rt_flags & RTF_UP)) { in nd6_output_list()
4012 if (!(rt->rt_flags & RTF_UP) || in nd6_output_list()
4055 if ((hint->rt_flags & (RTF_WASCLONED | RTF_UP)) == in nd6_output_list()
4056 (RTF_WASCLONED | RTF_UP)) { in nd6_output_list()
4071 if (!(rt->rt_flags & RTF_UP)) { in nd6_output_list()
H A Din6_src.c1344 !(route->ro_rt->rt_flags & RTF_UP))) { in selectroute()
1352 (route->ro_rt->rt_flags & (RTF_UP | RTF_PROXY)) == in selectroute()
1353 (RTF_UP | RTF_PROXY)) { in selectroute()
H A Din6_rmx.c469 if (!(rt->rt_flags & RTF_UP)) { in in6_clsroute()
H A Din6.c265 SA(&all1_sa), RTF_UP | RTF_HOST | RTF_LLINFO, &nrt); in in6_ifloop_request()
2212 SA(&mltmask), RTF_UP | RTF_CLONING, in in6_ifaupdate_aux()
2289 SA(&mltmask), RTF_UP | RTF_CLONING, in in6_ifaupdate_aux()
2338 SA(&mltmask), RTF_UP | RTF_CLONING, in in6_ifaupdate_aux()
2981 error = rtinit(ifa, RTM_ADD, RTF_UP | RTF_HOST); in in6_ifinit()
/xnu-11417.101.15/bsd/netinet/
H A Din_pcblist.c599 (inp->inp_route.ro_rt->rt_flags & (RTF_UP | RTF_CONDEMNED)) != RTF_UP) { in inpcb_get_if_ports_used()
H A Din_rmx.c383 if (!(rt->rt_flags & RTF_UP)) { in in_clsroute()
H A Din.c936 RTF_HOST | RTF_UP); in inctl_ifdstaddr()
1658 int flags = RTF_UP, error; in in_ifinit()
H A Draw_ip.c940 flags = RTF_UP; in rip_ctlinput()
H A Dip_output.c1747 if ((ro->ro_rt->rt_flags & (RTF_UP | RTF_HOST)) && in ip_output_list()
3338 !(ro->ro_rt->rt_flags & RTF_UP))) { in in_selectsrcif()
H A Dtcp_output.c949 if (rt->rt_flags & RTF_UP) { in tcp_output()
961 (!(rt->rt_flags & RTF_UP) || in tcp_output()
H A Din_arp.c2040 if (!(route->rt_flags & RTF_UP)) { in arp_ip_handle_input()
H A Dtcp_subr.c3064 (!(rt->rt_flags & RTF_UP) || (rt->rt_rmx.rmx_locks & RTV_MTU)))) { in tcp_rtlookup()
3172 (!(rt->rt_flags & RTF_UP) || (rt->rt_rmx.rmx_locks & RTV_MTU)))) { in tcp_rtlookup6()
/xnu-11417.101.15/bsd/kern/
H A Dnetboot.c486 uint32_t flags = RTF_UP | RTF_STATIC; in route_cmd()
/xnu-11417.101.15/bsd/skywalk/namespace/
H A Dnetns.c1841 (fr->fr_rt_dst->rt_flags & (RTF_UP | RTF_CONDEMNED)) != RTF_UP) { in netns_local_port_scan_flow_entry()
/xnu-11417.101.15/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_route.c400 if (rt == NULL || !(rt->rt_flags & RTF_UP) || fr->fr_want_configure) { in flow_route_configure()

12