Searched refs:frh (Results 1 – 5 of 5) sorted by relevance
| /net/ipv4/ |
| 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 …]
|
| 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()
|
| /net/core/ |
| A D | fib_rules.c | 580 if (frh->src_len) in fib_nl2rule() 883 frh = nlmsg_payload(nlh, sizeof(*frh)); in fib_newrule() 884 if (!frh) { in fib_newrule() 1012 frh = nlmsg_payload(nlh, sizeof(*frh)); in fib_delrule() 1013 if (!frh) { in fib_delrule() 1166 frh->res1 = 0; in fib_nl_fill_rule() 1167 frh->res2 = 0; in fib_nl_fill_rule() 1265 frh = nlmsg_payload(nlh, sizeof(*frh)); in fib_valid_dumprule_req() 1266 if (!frh) { in fib_valid_dumprule_req() 1271 if (frh->dst_len || frh->src_len || frh->tos || frh->table || in fib_valid_dumprule_req() [all …]
|
| /net/ipv6/ |
| 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 …]
|
| 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()
|
Completed in 22 milliseconds