Lines Matching defs:rule
235 const struct flow_action *action = &f->rule->action;
245 if (!flow_action_basic_hw_stats_check(&f->rule->action,
524 struct flow_rule *rule = flow_cls_offload_flow_rule(f);
532 flow_rule_match_meta(rule, &match);
576 struct flow_rule *rule = flow_cls_offload_flow_rule(f);
577 struct flow_dissector *dissector = rule->match.dissector;
595 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_META)) {
598 flow_rule_match_meta(rule, &match);
612 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_CONTROL)) {
615 flow_rule_match_control(rule, &match);
618 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_VLAN)) {
621 flow_rule_match_vlan(rule, &match);
630 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_ETH_ADDRS)) {
652 flow_rule_match_eth_addrs(rule, &match);
673 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_BASIC)) {
676 flow_rule_match_basic(rule, &match);
707 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV4_ADDRS) &&
718 flow_rule_match_ipv4_addrs(rule, &match);
740 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_IPV6_ADDRS) &&
745 if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_PORTS)) {
754 flow_rule_match_ports(rule, &match);
843 /* If we have an egress VLAN modification rule, we need to actually write the