Searched refs:frh (Results 1 – 7 of 7) sorted by relevance
| /linux/net/ipv4/ |
| H A D | fib_rules.c | 270 struct fib_rule_hdr *frh, in fib4_rule_configure() argument 284 if (!inet_validate_dscp(frh->tos)) { in fib4_rule_configure() 290 if (frh->tos & ~IPTOS_TOS_MASK) { in fib4_rule_configure() 294 rule4->dscp = inet_dsfield_to_dscp(frh->tos); in fib4_rule_configure() 325 if (frh->src_len) in fib4_rule_configure() 328 if (frh->dst_len) in fib4_rule_configure() 342 rule4->src_len = frh->src_len; in fib4_rule_configure() 344 rule4->dst_len = frh->dst_len; in fib4_rule_configure() 368 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() argument 373 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare() [all …]
|
| H A D | ipmr.c | 208 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()
|
| /linux/net/core/ |
| H A D | fib_rules.c | 440 struct fib_rule_hdr *frh, in rule_find() argument 512 if (!ops->compare(r, frh, tb)) in rule_find() 575 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl2rule() local 579 if (frh->src_len) in fib_nl2rule() 581 frh->src_len > (ops->addr_size * 8) || in fib_nl2rule() 587 if (frh->dst_len) in fib_nl2rule() 589 frh->dst_len > (ops->addr_size * 8) || in fib_nl2rule() 639 nlrule->action = frh->action; in fib_nl2rule() 640 nlrule->flags = frh->flags; in fib_nl2rule() 641 nlrule->table = frh_get_table(frh, tb); in fib_nl2rule() [all …]
|
| /linux/net/ipv6/ |
| H A D | fib6_rules.c | 427 struct fib_rule_hdr *frh, in fib6_rule_configure() argument 435 if (!inet_validate_dscp(frh->tos)) { in fib6_rule_configure() 440 rule6->dscp = inet_dsfield_to_dscp(frh->tos); in fib6_rule_configure() 441 rule6->dscp_mask = frh->tos ? inet_dsfield_to_dscp(INET_DSCP_MASK) : 0; in fib6_rule_configure() 466 if (frh->src_len) in fib6_rule_configure() 469 if (frh->dst_len) in fib6_rule_configure() 472 rule6->src.plen = frh->src_len; in fib6_rule_configure() 473 rule6->dst.plen = frh->dst_len; in fib6_rule_configure() 493 static int fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib6_rule_compare() argument 498 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare() [all …]
|
| /linux/include/net/ |
| H A D | fib_rules.h | 141 static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) in frh_get_table() argument 145 return frh->table; in frh_get_table()
|
| /linux/fs/ntfs3/ |
| H A D | fslog.c | 3882 const struct LFS_RECORD_HDR *frh; in log_replay() local 4266 frh = lcb->lrh; in log_replay() 4267 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4269 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() 4306 frh = lcb->lrh; in log_replay() 4307 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4309 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() 4401 frh = lcb->lrh; in log_replay() 4402 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4404 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() [all …]
|
| /linux/drivers/net/ |
| H A D | vrf.c | 1462 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()
|