Home
last modified time | relevance | path

Searched refs:fc_scope (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/net/ipv4/
H A Dfib_frontend.c516 cfg->fc_scope = RT_SCOPE_HOST; in rtentry_to_fib_config()
521 cfg->fc_scope = RT_SCOPE_NOWHERE; in rtentry_to_fib_config()
573 cfg->fc_scope = RT_SCOPE_UNIVERSE; in rtentry_to_fib_config()
582 if (cfg->fc_scope == RT_SCOPE_NOWHERE) in rtentry_to_fib_config()
583 cfg->fc_scope = RT_SCOPE_LINK; in rtentry_to_fib_config()
742 cfg->fc_scope = rtm->rtm_scope; in rtm_to_fib_config()
1085 cfg.fc_scope = RT_SCOPE_LINK; in fib_magic()
1087 cfg.fc_scope = RT_SCOPE_HOST; in fib_magic()
H A Dfib_semantics.c383 cfg->fc_protocol, cfg->fc_scope, in fib_find_info_nh()
395 cfg->fc_scope == fi->fib_scope && in fib_find_info_nh()
1412 if (fib_props[cfg->fc_type].scope > cfg->fc_scope) { in fib_create_info()
1485 fi->fib_scope = cfg->fc_scope; in fib_create_info()
1537 if (cfg->fc_scope > RT_SCOPE_HOST) { in fib_create_info()
1543 err = fib_check_nexthop(fi->nh, cfg->fc_scope, extack); in fib_create_info()
1546 } else if (cfg->fc_scope == RT_SCOPE_HOST) { in fib_create_info()
1570 cfg->fc_table, cfg->fc_scope, in fib_create_info()
H A Dfib_trie.c1699 (cfg->fc_scope == RT_SCOPE_NOWHERE || in fib_table_delete()
1700 fa->fa_info->fib_scope == cfg->fc_scope) && in fib_table_delete()
/OK3568_Linux_fs/kernel/include/net/
H A Dip_fib.h29 u8 fc_scope; member