Home
last modified time | relevance | path

Searched refs:fc_type (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/net/ipv4/
Dfib_semantics.c923 if (cfg->fc_type != RTN_LOCAL || !cfg->fc_dst || in fib_valid_prefsrc()
999 if (cfg->fc_type > RTN_MAX) in fib_create_info()
1003 if (fib_props[cfg->fc_type].scope > cfg->fc_scope) in fib_create_info()
1053 fi->fib_type = cfg->fc_type; in fib_create_info()
1115 if (fib_props[cfg->fc_type].error) { in fib_create_info()
1120 switch (cfg->fc_type) { in fib_create_info()
Dfib_trie.c1145 if (fa->fa_type == cfg->fc_type && in fib_table_insert()
1170 new_fa->fa_type = cfg->fc_type; in fib_table_insert()
1179 cfg->fc_type, in fib_table_insert()
1223 new_fa->fa_type = cfg->fc_type; in fib_table_insert()
1230 err = switchdev_fib_ipv4_add(key, plen, fi, tos, cfg->fc_type, in fib_table_insert()
1252 switchdev_fib_ipv4_del(key, plen, fi, tos, cfg->fc_type, tb->tb_id); in fib_table_insert()
1527 if ((!cfg->fc_type || fa->fa_type == cfg->fc_type) && in fib_table_delete()
1544 cfg->fc_type, tb->tb_id); in fib_table_delete()
Dfib_frontend.c488 cfg->fc_type = RTN_UNREACHABLE; in rtentry_to_fib_config()
493 cfg->fc_type = RTN_UNICAST; in rtentry_to_fib_config()
651 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config()
659 if (cfg->fc_type > RTN_MAX) { in rtm_to_fib_config()
809 .fc_type = type, in fib_magic()
/linux-4.4.14/include/net/
Dip6_fib.h40 u32 fc_type; /* only 8 bits are used */ member
Dip_fib.h31 u8 fc_type; member
/linux-4.4.14/drivers/scsi/ibmvscsi/
Dibmvfc.h289 __be16 fc_type; member
334 __be16 fc_type; member
Dibmvfc.c388 enum ibmvfc_fc_type fc_type; member
390 } fc_type [] = { variable
412 for (i = 0; i < ARRAY_SIZE(fc_type); i++) in ibmvfc_get_fc_type()
413 if (fc_type[i].fc_type == status) in ibmvfc_get_fc_type()
414 return fc_type[i].name; in ibmvfc_get_fc_type()
3440 ibmvfc_get_fc_type(be16_to_cpu(rsp->fc_type)), rsp->fc_type, in ibmvfc_tgt_plogi_done()
3827 rsp->status, rsp->error, ibmvfc_get_fc_type(be16_to_cpu(rsp->fc_type)), in ibmvfc_tgt_query_target_done()
3828 rsp->fc_type, ibmvfc_get_gs_explain(be16_to_cpu(rsp->fc_explain)), in ibmvfc_tgt_query_target_done()
/linux-4.4.14/net/ipv6/
Droute.c1877 switch (cfg->fc_type) { in ip6_route_info_create()
1891 rt->dst.error = (cfg->fc_type == RTN_THROW) ? -EAGAIN in ip6_route_info_create()
1892 : (cfg->fc_type == RTN_UNREACHABLE) in ip6_route_info_create()
2726 cfg->fc_type = rtm->rtm_type; in rtm_to_fib6_config()