Home
last modified time | relevance | path

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

/linux/net/decnet/
A Ddn_rules.c123 struct fib_rule_hdr *frh, in dn_fib_rule_configure() argument
130 if (frh->tos) { in dn_fib_rule_configure()
149 if (frh->src_len) in dn_fib_rule_configure()
152 if (frh->dst_len) in dn_fib_rule_configure()
155 r->src_len = frh->src_len; in dn_fib_rule_configure()
157 r->dst_len = frh->dst_len; in dn_fib_rule_configure()
169 if (frh->src_len && (r->src_len != frh->src_len)) in dn_fib_rule_compare()
172 if (frh->dst_len && (r->dst_len != frh->dst_len)) in dn_fib_rule_compare()
207 frh->dst_len = r->dst_len; in dn_fib_rule_fill()
208 frh->src_len = r->src_len; in dn_fib_rule_fill()
[all …]
/linux/net/ipv4/
A Dfib_rules.c257 if (frh->src_len) in fib4_rule_configure()
260 if (frh->dst_len) in fib4_rule_configure()
274 rule4->src_len = frh->src_len; in fib4_rule_configure()
276 rule4->dst_len = frh->dst_len; in fib4_rule_configure()
278 rule4->tos = frh->tos; in fib4_rule_configure()
315 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare()
318 if (frh->dst_len && (rule4->dst_len != frh->dst_len)) in fib4_rule_compare()
321 if (frh->tos && (rule4->tos != frh->tos)) in fib4_rule_compare()
339 struct fib_rule_hdr *frh) in fib4_rule_fill() argument
343 frh->dst_len = rule4->dst_len; in fib4_rule_fill()
[all …]
A Dipmr.c203 struct fib_rule_hdr *frh, struct nlattr **tb, in ipmr_rule_configure() argument
209 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() argument
216 struct fib_rule_hdr *frh) in ipmr_rule_fill() argument
218 frh->dst_len = 0; in ipmr_rule_fill()
219 frh->src_len = 0; in ipmr_rule_fill()
220 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()
992 struct fib_rule_hdr *frh; in fib_nl_fill_rule() local
998 frh = nlmsg_data(nlh); in fib_nl_fill_rule()
1005 frh->res1 = 0; in fib_nl_fill_rule()
1006 frh->res2 = 0; in fib_nl_fill_rule()
1008 frh->flags = rule->flags; in fib_nl_fill_rule()
1098 struct fib_rule_hdr *frh; in fib_valid_dumprule_req() local
1105 frh = nlmsg_data(nlh); in fib_valid_dumprule_req()
1106 if (frh->dst_len || frh->src_len || frh->tos || frh->table || in fib_valid_dumprule_req()
[all …]
/linux/net/ipv6/
A Dfib6_rules.c368 if (frh->src_len) in fib6_rule_configure()
371 if (frh->dst_len) in fib6_rule_configure()
374 rule6->src.plen = frh->src_len; in fib6_rule_configure()
376 rule6->tclass = frh->tos; in fib6_rule_configure()
403 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare()
406 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) in fib6_rule_compare()
409 if (frh->tos && (rule6->tclass != frh->tos)) in fib6_rule_compare()
412 if (frh->src_len && in fib6_rule_compare()
416 if (frh->dst_len && in fib6_rule_compare()
424 struct fib_rule_hdr *frh) in fib6_rule_fill() argument
[all …]
A Dip6mr.c190 struct fib_rule_hdr *frh, struct nlattr **tb, in ip6mr_rule_configure() argument
196 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare() argument
203 struct fib_rule_hdr *frh) in ip6mr_rule_fill() argument
205 frh->dst_len = 0; in ip6mr_rule_fill()
206 frh->src_len = 0; in ip6mr_rule_fill()
207 frh->tos = 0; in ip6mr_rule_fill()
/linux/fs/ntfs3/
A Dfslog.c3773 const struct LFS_RECORD_HDR *frh; in log_replay() local
4145 frh = lcb->lrh; in log_replay()
4146 rec_len = le32_to_cpu(frh->client_data_len); in log_replay()
4185 frh = lcb->lrh; in log_replay()
4263 frh = lcb->lrh; in log_replay()
4291 frh = lcb->lrh; in log_replay()
4396 frh = lcb->lrh; in log_replay()
4413 if (LfsClientRecord != frh->record_type) in log_replay()
4869 frh = lcb->lrh; in log_replay()
4871 if (LfsClientRecord != frh->record_type) in log_replay()
[all …]
/linux/include/net/
A Dfib_rules.h151 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table() argument
155 return frh->table; in frh_get_table()
/linux/drivers/net/
A Dvrf.c1559 struct fib_rule_hdr *frh; in vrf_fib_rule() local
1572 nlh = nlmsg_put(skb, 0, 0, 0, sizeof(*frh), 0); in vrf_fib_rule()
1579 frh = nlmsg_data(nlh); in vrf_fib_rule()
1580 memset(frh, 0, sizeof(*frh)); in vrf_fib_rule()
1581 frh->family = family; in vrf_fib_rule()
1582 frh->action = FR_ACT_TO_TBL; in vrf_fib_rule()

Completed in 30 milliseconds