Home
last modified time | relevance | path

Searched refs:nh_oif (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/net/decnet/
Ddn_fib.c123 if (nh->nh_oif != onh->nh_oif || in dn_fib_nh_comp()
177 nh->nh_oif = nhp->rtnh_ifindex; in dn_fib_get_nhs()
210 if ((dev = __dev_get_by_index(&init_net, nh->nh_oif)) == NULL) in dn_fib_check_nh()
222 fld.flowidn_oif = nh->nh_oif; in dn_fib_check_nh()
235 nh->nh_oif = DN_FIB_RES_OIF(res); in dn_fib_check_nh()
253 dev = __dev_get_by_index(&init_net, nh->nh_oif); in dn_fib_check_nh()
322 fi->fib_nh->nh_oif != nla_get_u32(attrs[RTA_OIF])) in dn_fib_create_info()
332 nh->nh_oif = nla_get_u32(attrs[RTA_OIF]); in dn_fib_create_info()
366 nh->nh_dev = dev_get_by_index(&init_net, fi->fib_nh->nh_oif); in dn_fib_create_info()
437 fld->flowidn_oif == nh->nh_oif) in dn_fib_semantic_match()
Ddn_table.c239 if ((!attrs[RTA_OIF] || nla_get_u32(attrs[RTA_OIF]) == fi->fib_nh->nh_oif) && in dn_fib_nh_match()
257 if (nhp->rtnh_ifindex && nhp->rtnh_ifindex != nh->nh_oif) in dn_fib_nh_match()
342 if (fi->fib_nh->nh_oif && in dn_fib_dump_info()
343 nla_put_u32(skb, RTA_OIF, fi->fib_nh->nh_oif) < 0) in dn_fib_dump_info()
361 nhp->rtnh_ifindex = nh->nh_oif; in dn_fib_dump_info()
/Linux-v5.10/include/net/
Ddn_fib.h25 int nh_oif; member
53 #define DN_FIB_RES_OIF(res) (DN_FIB_RES_NH(res).nh_oif)