Searched refs:fib_cfg (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/ipv4/ |
D | fib_semantics.c | 693 struct fib_config fib_cfg; in fib_get_nhs() local 700 memset(&fib_cfg, 0, sizeof(fib_cfg)); in fib_get_nhs() 714 fib_cfg.fc_flags = (cfg->fc_flags & ~0xFF) | rtnh->rtnh_flags; in fib_get_nhs() 715 fib_cfg.fc_oif = rtnh->rtnh_ifindex; in fib_get_nhs() 729 ret = fib_gw_from_attr(&fib_cfg.fc_gw4, nla, in fib_get_nhs() 734 if (fib_cfg.fc_gw4) in fib_get_nhs() 735 fib_cfg.fc_gw_family = AF_INET; in fib_get_nhs() 737 ret = fib_gw_from_via(&fib_cfg, nlav, extack); in fib_get_nhs() 748 fib_cfg.fc_flow = nla_get_u32(nla); in fib_get_nhs() 751 fib_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP); in fib_get_nhs() [all …]
|
D | nexthop.c | 1323 struct fib_config fib_cfg = { in nh_create_ipv4() local 1335 err = fib_nh_init(net, fib_nh, &fib_cfg, 1, extack); in nh_create_ipv4()
|