Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dfib_semantics.c633 nh->fib_nh_gw_family = cfg->fc_gw_family; in fib_nh_init()
634 if (cfg->fc_gw_family == AF_INET) in fib_nh_init()
636 else if (cfg->fc_gw_family == AF_INET6) in fib_nh_init()
735 fib_cfg.fc_gw_family = AF_INET; in fib_get_nhs()
775 if (cfg->fc_gw_family) { in fib_get_nhs()
776 if (cfg->fc_gw_family != nh->fib_nh_gw_family || in fib_get_nhs()
777 (cfg->fc_gw_family == AF_INET && in fib_get_nhs()
779 (cfg->fc_gw_family == AF_INET6 && in fib_get_nhs()
892 if (cfg->fc_oif || cfg->fc_gw_family || cfg->fc_mp) in fib_nh_match()
897 if (cfg->fc_oif || cfg->fc_gw_family) { in fib_nh_match()
[all …]
Dfib_frontend.c569 cfg->fc_gw_family = AF_INET; in rtentry_to_fib_config()
579 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw_family) in rtentry_to_fib_config()
697 cfg->fc_gw_family = AF_INET; in fib_gw_from_via()
706 cfg->fc_gw_family = AF_INET6; in fib_gw_from_via()
769 cfg->fc_gw_family = AF_INET; in rtm_to_fib_config()
819 if (cfg->fc_oif || cfg->fc_gw_family || in rtm_to_fib_config()
Dnexthop.c1326 .fc_gw_family = cfg->gw.ipv4 ? AF_INET : 0, in nh_create_ipv4()
/kernel/linux/linux-5.10/include/net/
Dip_fib.h31 u8 fc_gw_family; member