Searched refs:fib_cfg (Results 1 – 2 of 2) sorted by relevance
/linux/net/ipv4/ |
A D | fib_semantics.c | 684 struct fib_config fib_cfg; in fib_get_nhs() local 691 memset(&fib_cfg, 0, sizeof(fib_cfg)); in fib_get_nhs() 706 fib_cfg.fc_oif = rtnh->rtnh_ifindex; in fib_get_nhs() 720 ret = fib_gw_from_attr(&fib_cfg.fc_gw4, nla, in fib_get_nhs() 725 if (fib_cfg.fc_gw4) in fib_get_nhs() 726 fib_cfg.fc_gw_family = AF_INET; in fib_get_nhs() 728 ret = fib_gw_from_via(&fib_cfg, nlav, extack); in fib_get_nhs() 739 fib_cfg.fc_flow = nla_get_u32(nla); in fib_get_nhs() 742 fib_cfg.fc_encap = nla_find(attrs, attrlen, RTA_ENCAP); in fib_get_nhs() 748 fib_cfg.fc_encap_type = nla_get_u16(nla); in fib_get_nhs() [all …]
|
A D | nexthop.c | 2511 struct fib_config fib_cfg = { in nh_create_ipv4() local 2523 err = fib_nh_init(net, fib_nh, &fib_cfg, 1, extack); in nh_create_ipv4()
|
Completed in 12 milliseconds