Searched refs:frh (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | fib_rules.c | 221 struct fib_rule_hdr *frh, in fib4_rule_configure() argument 229 if (!inet_validate_dscp(frh->tos)) { in fib4_rule_configure() 235 if (frh->tos & ~IPTOS_TOS_MASK) { in fib4_rule_configure() 239 rule4->dscp = inet_dsfield_to_dscp(frh->tos); in fib4_rule_configure() 260 if (frh->src_len) in fib4_rule_configure() 263 if (frh->dst_len) in fib4_rule_configure() 277 rule4->src_len = frh->src_len; in fib4_rule_configure() 279 rule4->dst_len = frh->dst_len; in fib4_rule_configure() 312 static int fib4_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib4_rule_compare() argument 317 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare() [all …]
|
H A D | ipmr.c | 214 struct fib_rule_hdr *frh, struct nlattr **tb, in ipmr_rule_configure() argument 220 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() argument 227 struct fib_rule_hdr *frh) in ipmr_rule_fill() argument 229 frh->dst_len = 0; in ipmr_rule_fill() 230 frh->src_len = 0; in ipmr_rule_fill() 231 frh->tos = 0; in ipmr_rule_fill()
|
/openbmc/linux/net/core/ |
H A D | fib_rules.c | 418 struct fib_rule_hdr *frh, in rule_find() argument 487 if (!ops->compare(r, frh, tb)) in rule_find() 524 struct fib_rule_hdr *frh = nlmsg_data(nlh); in fib_nl2rule() local 528 if (frh->src_len) in fib_nl2rule() 530 frh->src_len > (ops->addr_size * 8) || in fib_nl2rule() 536 if (frh->dst_len) in fib_nl2rule() 538 frh->dst_len > (ops->addr_size * 8) || in fib_nl2rule() 602 nlrule->action = frh->action; in fib_nl2rule() 603 nlrule->flags = frh->flags; in fib_nl2rule() 604 nlrule->table = frh_get_table(frh, tb); in fib_nl2rule() [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | fib6_rules.c | 349 struct fib_rule_hdr *frh, in fib6_rule_configure() argument 357 if (!inet_validate_dscp(frh->tos)) { in fib6_rule_configure() 362 rule6->dscp = inet_dsfield_to_dscp(frh->tos); in fib6_rule_configure() 376 if (frh->src_len) in fib6_rule_configure() 379 if (frh->dst_len) in fib6_rule_configure() 382 rule6->src.plen = frh->src_len; in fib6_rule_configure() 383 rule6->dst.plen = frh->dst_len; in fib6_rule_configure() 405 static int fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib6_rule_compare() argument 410 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare() 413 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) in fib6_rule_compare() [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()
|
/openbmc/linux/include/net/ |
H A D | fib_rules.h | 130 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()
|
/openbmc/linux/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() 4143 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() 4180 frh = lcb->lrh; in log_replay() 4181 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4183 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() 4258 frh = lcb->lrh; in log_replay() 4259 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4261 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | vrf.c | 1546 struct fib_rule_hdr *frh; in vrf_fib_rule() local 1559 nlh = nlmsg_put(skb, 0, 0, 0, sizeof(*frh), 0); in vrf_fib_rule() 1566 frh = nlmsg_data(nlh); in vrf_fib_rule() 1567 memset(frh, 0, sizeof(*frh)); in vrf_fib_rule() 1568 frh->family = family; in vrf_fib_rule() 1569 frh->action = FR_ACT_TO_TBL; in vrf_fib_rule()
|