Home
last modified time | relevance | path

Searched refs:rt_flags (Results 1 – 9 of 9) sorted by relevance

/external/toybox/toys/pending/
Droute.c218 if (!(rt->rt_flags & RTF_GATEWAY)) { in get_next_params()
223 rt->rt_flags |= RTF_GATEWAY; in get_next_params()
233 rt->rt_flags |= RTF_MSS; in get_next_params()
240 rt->rt_flags |= RTF_WINDOW; in get_next_params()
249 rt->rt_flags |= 0x0100; //RTF_IRTT in get_next_params()
257 rt->rt_flags |= RTF_REJECT; in get_next_params()
260 rt->rt_flags |= RTF_MODIFIED; in get_next_params()
263 rt->rt_flags |= RTF_DYNAMIC; in get_next_params()
266 rt->rt_flags |= RTF_REINSTATE; in get_next_params()
271 if (!rt->rt_dev && (rt->rt_flags & RTF_REJECT)) rt->rt_dev = (char *)"lo"; in get_next_params()
[all …]
/external/libnl/lib/route/
Droute_obj.c134 if (r->rt_flags & RTM_F_CLONED) in route_dump_line()
168 flags = r->rt_flags & ~(RTM_F_CLONED); in route_dump_line()
404 (a->rt_flags ^ b->rt_flags) & b->rt_flag_mask); in route_compare()
445 diff |= ROUTE_DIFF(FLAGS, a->rt_flags != b->rt_flags); in route_compare()
652 route->rt_flags |= flags; in rtnl_route_set_flags()
659 route->rt_flags &= ~flags; in rtnl_route_unset_flags()
665 return route->rt_flags; in rtnl_route_get_flags()
939 route->rt_flags = rtm->rtm_flags; in rtnl_route_parse()
1090 .rtm_flags = route->rt_flags, in rtnl_route_build_msg()
/external/kernel-headers/original/uapi/linux/
Droute.h35 unsigned short rt_flags; member
/external/ppp/pppd/
Dsys-linux.c1557 rt->rt_flags = (short) strtoul(cols[route_flags_col], NULL, 16); in read_route_table()
1576 if ((rt->rt_flags & RTF_UP) == 0) in defaultroute_exists()
1607 if ((rt.rt_flags & RTF_UP) == 0 || strcmp(rt.rt_dev, ifname) == 0) in have_route_to()
1629 if (rt.rt_flags & RTF_GATEWAY) in sifdefaultroute()
1648 rt.rt_flags = RTF_UP; in sifdefaultroute()
1681 rt.rt_flags = RTF_UP; in cifdefaultroute()
2428 rt.rt_flags = RTF_UP | RTF_HOST; in sifaddr()
2485 rt.rt_flags = RTF_UP | RTF_HOST; in cifaddr()
Dsys-solaris.c2056 rt.rt_flags = RTF_GATEWAY;
2085 rt.rt_flags = RTF_GATEWAY;
2616 rt.rt_flags = RTF_HOST;
/external/libnl/include/
Dnetlink-types.h266 uint32_t rt_flags; member
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c839 rt.rt_flags = RTF_UP; in add_ssdp_network()
/external/iputils/
Drdisc.c1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()
/external/valgrind/include/vki/
Dvki-linux.h891 unsigned short rt_flags; member