Home
last modified time | relevance | path

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

/linux/net/core/
H A Dfib_rules.c441 struct fib_rule_hdr *frh, in rule_find() argument
513 if (!ops->compare(r, frh, tb)) in rule_find()
576 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl2rule() local
580 if (frh->src_len) in fib_nl2rule()
582 frh->src_len > (ops->addr_size * 8) || in fib_nl2rule()
588 if (frh->dst_len) in fib_nl2rule()
590 frh->dst_len > (ops->addr_size * 8) || in fib_nl2rule()
640 nlrule->action = frh->action; in fib_nl2rule()
641 nlrule->flags = frh->flags; in fib_nl2rule()
642 nlrule->table = frh_get_table(frh, tb); in fib_nl2rule()
[all …]
/linux/include/net/
H A Dfib_rules.h134 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table() argument
138 return frh->table; in frh_get_table()
/linux/drivers/net/
H A Dvrf.c1462 struct fib_rule_hdr *frh; in vrf_fib_rule() local
1475 nlh = nlmsg_put(skb, 0, 0, 0, sizeof(*frh), 0); in vrf_fib_rule()
1482 frh = nlmsg_data(nlh); in vrf_fib_rule()
1483 memset(frh, 0, sizeof(*frh)); in vrf_fib_rule()
1484 frh->family = family; in vrf_fib_rule()
1485 frh->action = FR_ACT_TO_TBL; in vrf_fib_rule()
/linux/net/ipv4/
H A Dipmr.c208 struct fib_rule_hdr *frh, struct nlattr **tb, in ipmr_rule_configure() argument
214 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() argument
221 struct fib_rule_hdr *frh) in ipmr_rule_fill() argument
223 frh->dst_len = 0; in ipmr_rule_fill()
224 frh->src_len = 0; in ipmr_rule_fill()
225 frh->tos = 0; in ipmr_rule_fill()