Home
last modified time | relevance | path

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

/linux/net/ipv4/
A Dfib_rules.c287 if (frh->src_len) in fib4_rule_configure()
290 if (frh->dst_len) in fib4_rule_configure()
304 rule4->src_len = frh->src_len; in fib4_rule_configure()
306 rule4->dst_len = frh->dst_len; in fib4_rule_configure()
344 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare()
347 if (frh->dst_len && (rule4->dst_len != frh->dst_len)) in fib4_rule_compare()
350 if (frh->tos && in fib4_rule_compare()
378 struct fib_rule_hdr *frh) in fib4_rule_fill() argument
382 frh->dst_len = rule4->dst_len; in fib4_rule_fill()
383 frh->src_len = rule4->src_len; in fib4_rule_fill()
[all …]
A Dipmr.c205 struct fib_rule_hdr *frh, struct nlattr **tb, in ipmr_rule_configure() argument
211 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() argument
218 struct fib_rule_hdr *frh) in ipmr_rule_fill() argument
220 frh->dst_len = 0; in ipmr_rule_fill()
221 frh->src_len = 0; in ipmr_rule_fill()
222 frh->tos = 0; in ipmr_rule_fill()
/linux/net/core/
A Dfib_rules.c528 if (frh->src_len) in fib_nl2rule()
536 if (frh->dst_len) in fib_nl2rule()
1013 struct fib_rule_hdr *frh; in fib_nl_fill_rule() local
1019 frh = nlmsg_data(nlh); in fib_nl_fill_rule()
1026 frh->res1 = 0; in fib_nl_fill_rule()
1027 frh->res2 = 0; in fib_nl_fill_rule()
1029 frh->flags = rule->flags; in fib_nl_fill_rule()
1119 struct fib_rule_hdr *frh; in fib_valid_dumprule_req() local
1126 frh = nlmsg_data(nlh); in fib_valid_dumprule_req()
1127 if (frh->dst_len || frh->src_len || frh->tos || frh->table || in fib_valid_dumprule_req()
[all …]
/linux/net/ipv6/
A Dfib6_rules.c394 if (frh->src_len) in fib6_rule_configure()
397 if (frh->dst_len) in fib6_rule_configure()
400 rule6->src.plen = frh->src_len; in fib6_rule_configure()
401 rule6->dst.plen = frh->dst_len; in fib6_rule_configure()
428 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare()
431 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) in fib6_rule_compare()
434 if (frh->tos && in fib6_rule_compare()
447 if (frh->src_len && in fib6_rule_compare()
451 if (frh->dst_len && in fib6_rule_compare()
459 struct fib_rule_hdr *frh) in fib6_rule_fill() argument
[all …]
A Dip6mr.c193 struct fib_rule_hdr *frh, struct nlattr **tb, in ip6mr_rule_configure() argument
199 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare() argument
206 struct fib_rule_hdr *frh) in ip6mr_rule_fill() argument
208 frh->dst_len = 0; in ip6mr_rule_fill()
209 frh->src_len = 0; in ip6mr_rule_fill()
210 frh->tos = 0; in ip6mr_rule_fill()
/linux/include/net/
A Dfib_rules.h130 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table() argument
134 return frh->table; in frh_get_table()
/linux/fs/ntfs3/
A Dfslog.c3771 const struct LFS_RECORD_HDR *frh; in log_replay() local
4140 frh = lcb->lrh; in log_replay()
4141 rec_len = le32_to_cpu(frh->client_data_len); in log_replay()
4180 frh = lcb->lrh; in log_replay()
4257 frh = lcb->lrh; in log_replay()
4289 frh = lcb->lrh; in log_replay()
4414 frh = lcb->lrh; in log_replay()
4431 if (LfsClientRecord != frh->record_type) in log_replay()
4891 frh = lcb->lrh; in log_replay()
4893 if (LfsClientRecord != frh->record_type) in log_replay()
[all …]
/linux/drivers/net/
A Dvrf.c1525 struct fib_rule_hdr *frh; in vrf_fib_rule() local
1538 nlh = nlmsg_put(skb, 0, 0, 0, sizeof(*frh), 0); in vrf_fib_rule()
1545 frh = nlmsg_data(nlh); in vrf_fib_rule()
1546 memset(frh, 0, sizeof(*frh)); in vrf_fib_rule()
1547 frh->family = family; in vrf_fib_rule()
1548 frh->action = FR_ACT_TO_TBL; in vrf_fib_rule()

Completed in 35 milliseconds