Lines Matching refs:fc_flags
3529 if (cfg->fc_flags & RTNH_F_ONLINK) in ip6_validate_gw()
3609 if (cfg->fc_flags & RTNH_F_ONLINK) { in fib6_nh_init()
3630 if (cfg->fc_flags & RTF_REJECT) { in fib6_nh_init()
3648 if (cfg->fc_flags & RTF_GATEWAY) { in fib6_nh_init()
3674 if (!(cfg->fc_flags & (RTF_LOCAL | RTF_ANYCAST)) && in fib6_nh_init()
3751 if (cfg->fc_flags & RTF_PCPU) { in fib6_config_validate()
3757 if (cfg->fc_flags & RTF_CACHE) { in fib6_config_validate()
3831 if (cfg->fc_flags & RTF_ADDRCONF) in ip6_route_info_create()
3834 if (cfg->fc_flags & RTF_EXPIRES) in ip6_route_info_create()
3845 rt->fib6_flags = cfg->fc_flags & ~RTF_GATEWAY; in ip6_route_info_create()
3909 if (fib6_is_reject(cfg->fc_flags, rt->fib6_nh->fib_nh_dev, in ip6_route_info_create_nh()
4078 if (cfg->fc_flags & RTF_GATEWAY && in __ip6_del_cached_rt()
4146 !(cfg->fc_flags & RTF_CACHE)); in ip6_route_del()
4156 if (cfg->fc_flags & RTF_CACHE) { in ip6_route_del()
4195 if (cfg->fc_flags & RTF_GATEWAY && in ip6_route_del()
4202 if (cfg->fc_flags & RTF_GATEWAY) in ip6_route_del()
4408 .fc_flags = RTF_GATEWAY | RTF_ADDRCONF | RTF_ROUTEINFO | in rt6_add_route_info()
4423 cfg.fc_flags |= RTF_DEFAULT; in rt6_add_route_info()
4474 .fc_flags = RTF_GATEWAY | RTF_ADDRCONF | RTF_DEFAULT | in rt6_add_dflt_router()
4552 .fc_flags = rtmsg->rtmsg_flags, in rtmsg_to_fib6_config()
4669 .fc_flags = RTF_UP | RTF_NONEXTHOP, in addrconf_f6i_alloc()
4681 cfg.fc_flags |= RTF_ANYCAST; in addrconf_f6i_alloc()
4684 cfg.fc_flags |= RTF_LOCAL; in addrconf_f6i_alloc()
5131 bool has_gateway = cfg->fc_flags & RTF_GATEWAY; in rtm_to_fib6_multipath_config()
5196 .fc_flags = RTF_UP, in rtm_to_fib6_config()
5209 cfg->fc_flags |= RTF_REJECT; in rtm_to_fib6_config()
5212 cfg->fc_flags |= RTF_LOCAL; in rtm_to_fib6_config()
5215 cfg->fc_flags |= RTF_CACHE; in rtm_to_fib6_config()
5217 cfg->fc_flags |= (rtm->rtm_flags & RTNH_F_ONLINK); in rtm_to_fib6_config()
5231 cfg->fc_flags |= RTF_GATEWAY; in rtm_to_fib6_config()
5287 cfg->fc_flags |= RTF_PREF(pref); in rtm_to_fib6_config()
5306 cfg->fc_flags |= RTF_EXPIRES; in rtm_to_fib6_config()
5443 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_add()
5452 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()
5599 r_cfg.fc_flags |= RTF_GATEWAY; in ip6_route_multipath_del()