Home
last modified time | relevance | path

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

/linux-6.1.9/net/core/
Dfib_rules.c496 static int fib_nl2rule_l3mdev(struct nlattr *nla, struct fib_rule *nlrule, in fib_nl2rule_l3mdev() argument
499 nlrule->l3mdev = nla_get_u8(nla); in fib_nl2rule_l3mdev()
500 if (nlrule->l3mdev != 1) { in fib_nl2rule_l3mdev()
508 static int fib_nl2rule_l3mdev(struct nlattr *nla, struct fib_rule *nlrule, in fib_nl2rule_l3mdev() argument
525 struct fib_rule *nlrule = NULL; in fib_nl2rule() local
544 nlrule = kzalloc(ops->rule_size, GFP_KERNEL_ACCOUNT); in fib_nl2rule()
545 if (!nlrule) { in fib_nl2rule()
549 refcount_set(&nlrule->refcnt, 1); in fib_nl2rule()
550 nlrule->fr_net = net; in fib_nl2rule()
553 nlrule->pref = nla_get_u32(tb[FRA_PRIORITY]); in fib_nl2rule()
[all …]