Searched refs:rt_flags (Results 1 – 9 of 9) sorted by relevance
195 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()237 if (!rt->rt_dev && (rt->rt_flags & RTF_REJECT)) rt->rt_dev = (char *)"lo"; in get_next_params()[all …]
136 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()
35 unsigned short rt_flags; member
1557 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()
2056 rt.rt_flags = RTF_GATEWAY;2085 rt.rt_flags = RTF_GATEWAY;2616 rt.rt_flags = RTF_HOST;
289 uint32_t rt_flags; member
826 rt.rt_flags = RTF_UP; in add_ssdp_network()
1502 rt.rt_flags = RTF_UP | RTF_GATEWAY; in rtioctl()
888 unsigned short rt_flags; member