Searched refs:frh (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/net/ipv4/ |
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 …]
|
D | ipmr.c | 204 struct fib_rule_hdr *frh, struct nlattr **tb, in ipmr_rule_configure() argument 210 static int ipmr_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in ipmr_rule_compare() argument 217 struct fib_rule_hdr *frh) in ipmr_rule_fill() argument 219 frh->dst_len = 0; in ipmr_rule_fill() 220 frh->src_len = 0; in ipmr_rule_fill() 221 frh->tos = 0; in ipmr_rule_fill()
|
/linux-6.6.21/net/core/ |
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 …]
|
/linux-6.6.21/net/ipv6/ |
D | fib6_rules.c | 345 struct fib_rule_hdr *frh, in fib6_rule_configure() argument 353 if (!inet_validate_dscp(frh->tos)) { in fib6_rule_configure() 358 rule6->dscp = inet_dsfield_to_dscp(frh->tos); in fib6_rule_configure() 372 if (frh->src_len) in fib6_rule_configure() 375 if (frh->dst_len) in fib6_rule_configure() 378 rule6->src.plen = frh->src_len; in fib6_rule_configure() 379 rule6->dst.plen = frh->dst_len; in fib6_rule_configure() 401 static int fib6_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in fib6_rule_compare() argument 406 if (frh->src_len && (rule6->src.plen != frh->src_len)) in fib6_rule_compare() 409 if (frh->dst_len && (rule6->dst.plen != frh->dst_len)) in fib6_rule_compare() [all …]
|
D | ip6mr.c | 193 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-6.6.21/include/net/ |
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()
|
/linux-6.6.21/fs/ntfs3/ |
D | fslog.c | 3748 const struct LFS_RECORD_HDR *frh; in log_replay() local 4114 frh = lcb->lrh; in log_replay() 4115 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4117 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() 4154 frh = lcb->lrh; in log_replay() 4155 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4157 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() 4232 frh = lcb->lrh; in log_replay() 4233 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4235 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() [all …]
|
/linux-6.6.21/drivers/net/ |
D | vrf.c | 1544 struct fib_rule_hdr *frh; in vrf_fib_rule() local 1557 nlh = nlmsg_put(skb, 0, 0, 0, sizeof(*frh), 0); in vrf_fib_rule() 1564 frh = nlmsg_data(nlh); in vrf_fib_rule() 1565 memset(frh, 0, sizeof(*frh)); in vrf_fib_rule() 1566 frh->family = family; in vrf_fib_rule() 1567 frh->action = FR_ACT_TO_TBL; in vrf_fib_rule()
|