Searched refs:fib_cfg (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/ipv4/ |
D | fib_semantics.c | 696 struct fib_config fib_cfg; in fib_get_nhs() local 703 memset(&fib_cfg, 0, sizeof(fib_cfg)); in fib_get_nhs() 717 fib_cfg.fc_flags = (cfg->fc_flags & ~0xFF) | rtnh->rtnh_flags; in fib_get_nhs() 718 fib_cfg.fc_oif = rtnh->rtnh_ifindex; in fib_get_nhs() 732 ret = fib_gw_from_attr(&fib_cfg.fc_gw4, nla, in fib_get_nhs() 737 if (fib_cfg.fc_gw4) in fib_get_nhs() 738 fib_cfg.fc_gw_family = AF_INET; in fib_get_nhs() 740 ret = fib_gw_from_via(&fib_cfg, nlav, extack); in fib_get_nhs() 751 fib_cfg.fc_flow = nla_get_u32(nla); in fib_get_nhs() 754 fib_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP); in fib_get_nhs() [all …]
|
D | nexthop.c | 2534 struct fib_config fib_cfg = { in nh_create_ipv4() local 2546 err = fib_nh_init(net, fib_nh, &fib_cfg, 1, extack); in nh_create_ipv4()
|