Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dfib_semantics.c635 nh->fib_nh_gw_family = cfg->fc_gw_family; in fib_nh_init()
636 if (cfg->fc_gw_family == AF_INET) in fib_nh_init()
638 else if (cfg->fc_gw_family == AF_INET6) in fib_nh_init()
737 fib_cfg.fc_gw_family = AF_INET; in fib_get_nhs()
777 if (cfg->fc_gw_family) { in fib_get_nhs()
778 if (cfg->fc_gw_family != nh->fib_nh_gw_family || in fib_get_nhs()
779 (cfg->fc_gw_family == AF_INET && in fib_get_nhs()
781 (cfg->fc_gw_family == AF_INET6 && in fib_get_nhs()
894 if (cfg->fc_oif || cfg->fc_gw_family || cfg->fc_mp) in fib_nh_match()
899 if (cfg->fc_oif || cfg->fc_gw_family) { in fib_nh_match()
[all …]
Dfib_frontend.c572 cfg->fc_gw_family = AF_INET; in rtentry_to_fib_config()
582 if (rt->rt_flags & RTF_GATEWAY && !cfg->fc_gw_family) in rtentry_to_fib_config()
700 cfg->fc_gw_family = AF_INET; in fib_gw_from_via()
709 cfg->fc_gw_family = AF_INET6; in fib_gw_from_via()
780 cfg->fc_gw_family = AF_INET; in rtm_to_fib_config()
830 if (cfg->fc_oif || cfg->fc_gw_family || in rtm_to_fib_config()
Dnexthop.c2514 .fc_gw_family = cfg->gw.ipv4 ? AF_INET : 0, in nh_create_ipv4()
/linux-6.1.9/include/net/
Dip_fib.h32 u8 fc_gw_family; member