net: add rte prefix to SCTP structure
[dpdk.git] / app / test / packet_burst_generator.c
index 02afc55..ab65c3f 100644 (file)
@@ -124,7 +124,7 @@ initialize_tcp_header(struct tcp_hdr *tcp_hdr, uint16_t src_port,
 }
 
 uint16_t
-initialize_sctp_header(struct sctp_hdr *sctp_hdr, uint16_t src_port,
+initialize_sctp_header(struct rte_sctp_hdr *sctp_hdr, uint16_t src_port,
                uint16_t dst_port, uint16_t pkt_data_len)
 {
        uint16_t pkt_len;
@@ -402,7 +402,7 @@ nomore_mbuf:
                                break;
                        case IPPROTO_SCTP:
                                copy_buf_to_pkt(proto_hdr,
-                                       sizeof(struct sctp_hdr), pkt,
+                                       sizeof(struct rte_sctp_hdr), pkt,
                                        eth_hdr_size +
                                                sizeof(struct rte_ipv4_hdr));
                                break;
@@ -427,7 +427,7 @@ nomore_mbuf:
                                break;
                        case IPPROTO_SCTP:
                                copy_buf_to_pkt(proto_hdr,
-                                       sizeof(struct sctp_hdr), pkt,
+                                       sizeof(struct rte_sctp_hdr), pkt,
                                        eth_hdr_size +
                                                sizeof(struct rte_ipv6_hdr));
                                break;