Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv4/
A Dfib_rules.c235 if (frh->tos & ~IPTOS_TOS_MASK) { 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()
317 if (frh->src_len && (rule4->src_len != frh->src_len)) in fib4_rule_compare()
320 if (frh->dst_len && (rule4->dst_len != frh->dst_len)) in fib4_rule_compare()
323 if (frh->tos && inet_dscp_to_dsfield(rule4->dscp) != frh->tos) in fib4_rule_compare()
341 struct fib_rule_hdr *frh) in fib4_rule_fill() argument
345 frh->dst_len = rule4->dst_len; in fib4_rule_fill()
[all …]
A Dipmr.c204 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.3-rc2/net/core/
A Dfib_rules.c528 if (frh->src_len) in fib_nl2rule()
536 if (frh->dst_len) in fib_nl2rule()
1013 struct fib_rule_hdr *frh; in fib_nl_fill_rule() local
1019 frh = nlmsg_data(nlh); in fib_nl_fill_rule()
1026 frh->res1 = 0; in fib_nl_fill_rule()
1027 frh->res2 = 0; in fib_nl_fill_rule()
1029 frh->flags = rule->flags; in fib_nl_fill_rule()
1119 struct fib_rule_hdr *frh; in fib_valid_dumprule_req() local
1126 frh = nlmsg_data(nlh); in fib_valid_dumprule_req()
1127 if (frh->dst_len || frh->src_len || frh->tos || frh->table || in fib_valid_dumprule_req()
[all …]
/linux-6.3-rc2/net/ipv6/
A Dfib6_rules.c372 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()
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()
412 if (frh->tos && inet_dscp_to_dsfield(rule6->dscp) != frh->tos) in fib6_rule_compare()
415 if (frh->src_len && in fib6_rule_compare()
419 if (frh->dst_len && in fib6_rule_compare()
427 struct fib_rule_hdr *frh) in fib6_rule_fill() argument
[all …]
A Dip6mr.c193 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.3-rc2/include/net/
A Dfib_rules.h130 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.3-rc2/fs/ntfs3/
A Dfslog.c3750 const struct LFS_RECORD_HDR *frh; in log_replay() local
4128 frh = lcb->lrh; in log_replay()
4129 rec_len = le32_to_cpu(frh->client_data_len); in log_replay()
4168 frh = lcb->lrh; in log_replay()
4246 frh = lcb->lrh; in log_replay()
4274 frh = lcb->lrh; in log_replay()
4379 frh = lcb->lrh; in log_replay()
4396 if (LfsClientRecord != frh->record_type) in log_replay()
4857 frh = lcb->lrh; in log_replay()
4859 if (LfsClientRecord != frh->record_type) in log_replay()
[all …]
/linux-6.3-rc2/drivers/net/
A Dvrf.c1566 struct fib_rule_hdr *frh; in vrf_fib_rule() local
1579 nlh = nlmsg_put(skb, 0, 0, 0, sizeof(*frh), 0); in vrf_fib_rule()
1586 frh = nlmsg_data(nlh); in vrf_fib_rule()
1587 memset(frh, 0, sizeof(*frh)); in vrf_fib_rule()
1588 frh->family = family; in vrf_fib_rule()
1589 frh->action = FR_ACT_TO_TBL; in vrf_fib_rule()

Completed in 32 milliseconds