.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 */
.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),
},
};
.field_index = 9,
.input_index = 9,
.offset = sizeof(struct rte_ipv6_hdr) +
- offsetof(struct tcp_hdr, src_port),
+ offsetof(struct rte_tcp_hdr, src_port),
},
/* Destination Port */
.field_index = 10,
.input_index = 9,
.offset = sizeof(struct rte_ipv6_hdr) +
- offsetof(struct tcp_hdr, dst_port),
+ offsetof(struct rte_tcp_hdr, dst_port),
},
};