net: add rte prefix to tcp structure
[dpdk.git] / drivers / net / softnic / rte_eth_softnic_pipeline.c
index 688a5d2..94fb700 100644 (file)
@@ -620,7 +620,7 @@ static const struct rte_acl_field_def table_acl_field_format_ipv4[] = {
                .field_index = 3,
                .input_index = 3,
                .offset = sizeof(struct rte_ipv4_hdr) +
-                       offsetof(struct tcp_hdr, src_port),
+                       offsetof(struct rte_tcp_hdr, src_port),
        },
 
        /* Destination Port */
@@ -630,7 +630,7 @@ static const struct rte_acl_field_def table_acl_field_format_ipv4[] = {
                .field_index = 4,
                .input_index = 3,
                .offset = sizeof(struct rte_ipv4_hdr) +
-                       offsetof(struct tcp_hdr, dst_port),
+                       offsetof(struct rte_tcp_hdr, dst_port),
        },
 };
 
@@ -717,7 +717,7 @@ static const struct rte_acl_field_def table_acl_field_format_ipv6[] = {
                .field_index = 9,
                .input_index = 9,
                .offset = sizeof(struct ipv6_hdr) +
-                       offsetof(struct tcp_hdr, src_port),
+                       offsetof(struct rte_tcp_hdr, src_port),
        },
 
        /* Destination Port */
@@ -727,7 +727,7 @@ static const struct rte_acl_field_def table_acl_field_format_ipv6[] = {
                .field_index = 10,
                .input_index = 9,
                .offset = sizeof(struct ipv6_hdr) +
-                       offsetof(struct tcp_hdr, dst_port),
+                       offsetof(struct rte_tcp_hdr, dst_port),
        },
 };