Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Droute.c195 if (!strcmp(*argv, "reject")) rt->rt_flags |= RTF_REJECT; in get_next_params()
196 else if (!strcmp(*argv, "mod")) rt->rt_flags |= RTF_MODIFIED; in get_next_params()
197 else if (!strcmp(*argv, "dyn")) rt->rt_flags |= RTF_DYNAMIC; in get_next_params()
198 else if (!strcmp(*argv, "reinstate")) rt->rt_flags |= RTF_REINSTATE; in get_next_params()
216 if (!(rt->rt_flags & RTF_GATEWAY)) { in get_next_params()
218 rt->rt_flags |= RTF_GATEWAY; in get_next_params()
224 rt->rt_flags |= RTF_MSS; in get_next_params()
228 rt->rt_flags |= RTF_WINDOW; in get_next_params()
231 rt->rt_flags |= RTF_IRTT; in get_next_params()
238 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.c136 if (r->rt_flags & RTM_F_CLONED) in route_dump_line()
170 flags = r->rt_flags & ~(RTM_F_CLONED); in route_dump_line()
393 (a->rt_flags ^ b->rt_flags) & b->rt_flag_mask); in route_compare()
436 diff |= ROUTE_DIFF(FLAGS, a->rt_flags != b->rt_flags); in route_compare()
740 route->rt_flags |= flags; in rtnl_route_set_flags()
747 route->rt_flags &= ~flags; in rtnl_route_unset_flags()
753 return route->rt_flags; in rtnl_route_get_flags()
1035 route->rt_flags = rtm->rtm_flags; in rtnl_route_parse()
1191 .rtm_flags = route->rt_flags, in rtnl_route_build_msg()
/external/kernel-headers/original/uapi/linux/
Droute.h36 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/syzkaller/sys/linux/
Dsocket_inet.txt176 rt_flags = RTF_UP, RTF_GATEWAY, RTF_HOST, RTF_REINSTATE, RTF_DYNAMIC, RTF_MODIFIED, RTF_MTU, RTF_WI…
183 rt_flags flags[rt_flags, int16]
/external/libnl/include/netlink-private/
Dtypes.h289 uint32_t rt_flags; member
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c826 rt.rt_flags = RTF_UP; in add_ssdp_network()
/external/iputils/
Drdisc.c1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()