Home
last modified time | relevance | path

Searched refs:fib_cfg (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Dfib_semantics.c694 struct fib_config fib_cfg; in fib_get_nhs() local
701 memset(&fib_cfg, 0, sizeof(fib_cfg)); in fib_get_nhs()
715 fib_cfg.fc_flags = (cfg->fc_flags & ~0xFF) | rtnh->rtnh_flags; in fib_get_nhs()
716 fib_cfg.fc_oif = rtnh->rtnh_ifindex; in fib_get_nhs()
730 ret = fib_gw_from_attr(&fib_cfg.fc_gw4, nla, in fib_get_nhs()
735 if (fib_cfg.fc_gw4) in fib_get_nhs()
736 fib_cfg.fc_gw_family = AF_INET; in fib_get_nhs()
738 ret = fib_gw_from_via(&fib_cfg, nlav, extack); in fib_get_nhs()
749 fib_cfg.fc_flow = nla_get_u32(nla); in fib_get_nhs()
752 fib_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP); in fib_get_nhs()
[all …]
Dnexthop.c2512 struct fib_config fib_cfg = { in nh_create_ipv4() local
2524 err = fib_nh_init(net, fib_nh, &fib_cfg, 1, extack); in nh_create_ipv4()