Searched refs:frh (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/net/ipv4/ |
| H A D | fib_rules.c | 323 if (frh->src_len) in fib4_rule_configure() 326 if (frh->dst_len) in fib4_rule_configure() 340 rule4->src_len = frh->src_len; in fib4_rule_configure() 342 rule4->dst_len = frh->dst_len; in fib4_rule_configure() 380 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare() 383 if (frh->dst_len && (rule4->dst_len != frh->dst_len)) in fib4_rule_compare() 386 if (frh->tos && in fib4_rule_compare() 422 struct fib_rule_hdr *frh) in fib4_rule_fill() argument 426 frh->dst_len = rule4->dst_len; in fib4_rule_fill() 427 frh->src_len = rule4->src_len; in fib4_rule_fill() [all …]
|
| H A D | ipmr.c | 215 struct fib_rule_hdr *frh, struct nlattr **tb, in ipmr_rule_configure() argument 221 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() argument 228 struct fib_rule_hdr *frh) in ipmr_rule_fill() argument 230 frh->dst_len = 0; in ipmr_rule_fill() 231 frh->src_len = 0; in ipmr_rule_fill() 232 frh->tos = 0; in ipmr_rule_fill()
|
| /linux-6.15/net/ipv6/ |
| H A D | fib6_rules.c | 462 if (frh->src_len) in fib6_rule_configure() 465 if (frh->dst_len) in fib6_rule_configure() 468 rule6->src.plen = frh->src_len; in fib6_rule_configure() 469 rule6->dst.plen = frh->dst_len; in fib6_rule_configure() 496 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare() 499 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) in fib6_rule_compare() 502 if (frh->tos && in fib6_rule_compare() 531 if (frh->src_len && in fib6_rule_compare() 535 if (frh->dst_len && in fib6_rule_compare() 543 struct fib_rule_hdr *frh) in fib6_rule_fill() argument [all …]
|
| H A D | ip6mr.c | 203 struct fib_rule_hdr *frh, struct nlattr **tb, in ip6mr_rule_configure() argument 209 static int ip6mr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ip6mr_rule_compare() argument 216 struct fib_rule_hdr *frh) in ip6mr_rule_fill() argument 218 frh->dst_len = 0; in ip6mr_rule_fill() 219 frh->src_len = 0; in ip6mr_rule_fill() 220 frh->tos = 0; in ip6mr_rule_fill()
|
| /linux-6.15/net/core/ |
| H A D | fib_rules.c | 580 if (frh->src_len) in fib_nl2rule() 588 if (frh->dst_len) in fib_nl2rule() 1151 struct fib_rule_hdr *frh; in fib_nl_fill_rule() local 1157 frh = nlmsg_data(nlh); in fib_nl_fill_rule() 1164 frh->res1 = 0; in fib_nl_fill_rule() 1165 frh->res2 = 0; in fib_nl_fill_rule() 1167 frh->flags = rule->flags; in fib_nl_fill_rule() 1261 struct fib_rule_hdr *frh; in fib_valid_dumprule_req() local 1268 frh = nlmsg_data(nlh); in fib_valid_dumprule_req() 1269 if (frh->dst_len || frh->src_len || frh->tos || frh->table || in fib_valid_dumprule_req() [all …]
|
| /linux-6.15/include/net/ |
| H A D | fib_rules.h | 134 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-6.15/fs/ntfs3/ |
| H A D | fslog.c | 3771 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-6.15/drivers/net/ |
| H A D | vrf.c | 1505 struct fib_rule_hdr *frh; in vrf_fib_rule() local 1518 nlh = nlmsg_put(skb, 0, 0, 0, sizeof(*frh), 0); in vrf_fib_rule() 1525 frh = nlmsg_data(nlh); in vrf_fib_rule() 1526 memset(frh, 0, sizeof(*frh)); in vrf_fib_rule() 1527 frh->family = family; in vrf_fib_rule() 1528 frh->action = FR_ACT_TO_TBL; in vrf_fib_rule()
|