Home
last modified time | relevance | path

Searched refs:RTNH_F_ONLINK (Results 1 – 6 of 6) sorted by relevance

/linux/include/uapi/linux/
H A Din_route.h8 #define RTCF_ONLINK RTNH_F_ONLINK
H A Drtnetlink.h420 #define RTNH_F_ONLINK 4 /* Gateway is forced on link */ macro
/linux/include/net/
H A Dnexthop.h20 #define NEXTHOP_VALID_USER_FLAGS RTNH_F_ONLINK
/linux/net/ipv4/
H A Dfib_semantics.c1126 if (nh->fib_nh_flags & RTNH_F_ONLINK) { in fib_check_nh_v4_gw()
1219 if (nh->fib_nh_flags & (RTNH_F_PERVASIVE | RTNH_F_ONLINK)) { in fib_check_nh_nongw()
1686 (RTNH_F_ONLINK | RTNH_F_OFFLOAD | RTNH_F_TRAP)); in fib_nexthop_info()
H A Dnexthop.c1596 if (nhi->fib_nhc.nhc_flags & RTNH_F_ONLINK && scope >= RT_SCOPE_LINK) { in nexthop_check_scope()
3174 if (cfg->nh_flags & RTNH_F_ONLINK) { in rtm_to_nh_config()
/linux/net/ipv6/
H A Droute.c3471 if (cfg->fc_flags & RTNH_F_ONLINK) in ip6_validate_gw()
3552 if (cfg->fc_flags & RTNH_F_ONLINK) { in fib6_nh_init()
3565 fib6_nh->fib_nh_flags |= RTNH_F_ONLINK; in fib6_nh_init()
5058 cfg->fc_flags |= (rtm->rtm_flags & RTNH_F_ONLINK); in rtm_to_fib6_config()
5304 r_cfg.fc_flags |= (rtnh->rtnh_flags & RTNH_F_ONLINK); in ip6_route_multipath_add()