Lines Matching defs:tcp
47 mlx5_ct_fs_smfs_fill_mask(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec, bool ipv4, bool tcp,
76 if (likely(tcp)) {
91 bool tcp, bool gre, u32 priority)
100 mlx5_ct_fs_smfs_fill_mask(fs, spec, ipv4, tcp, gre);
112 mlx5_ct_fs_smfs_matcher_get(struct mlx5_ct_fs *fs, bool nat, bool ipv4, bool tcp, bool gre)
123 smfs_matcher = &matchers->smfs_matchers[ipv4 * 3 + tcp * 2 + gre];
149 dr_matcher = mlx5_ct_fs_smfs_matcher_create(fs, tbl, ipv4, tcp, gre, prio);
152 "ct_fs_smfs: failed to create matcher (nat %d, ipv4 %d, tcp %d, gre %d), err: %ld\n",
153 nat, ipv4, tcp, gre, PTR_ERR(dr_matcher));
252 struct flow_match_tcp tcp;
267 flow_rule_match_tcp(flow_rule, &tcp);
287 if (basic.key->ip_proto == IPPROTO_TCP && tcp.mask->flags != MLX5_CT_TCP_FLAGS_MASK) {
288 ct_dbg("rule uses unexpected tcp match (flags 0x%02x)", tcp.mask->flags);
305 bool nat, tcp, ipv4, gre;
326 tcp = MLX5_GET(fte_match_param, spec->match_value,
331 smfs_matcher = mlx5_ct_fs_smfs_matcher_get(fs, nat, ipv4, tcp, gre);