aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/packet_io.h
diff options
context:
space:
mode:
authorOla Liljedahl <ola.liljedahl@linaro.org>2015-02-04 22:07:30 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-02-05 16:19:57 +0300
commit8da5fbd8c85dd7983194ad169e048f76835e6e6d (patch)
tree00682274f33f909b63cf111af08b718a7de53881 /include/odp/api/packet_io.h
parent0ad413109c02c3bdb025020dbb86ac6e4802d6a5 (diff)
api: odp_packet_io.h: use int for size of pkt_tables
odp_pktio_recv() and odp_pktio_send() use int for 'len' parameter to match return type. Signed-off-by: Ola Liljedahl <ola.liljedahl@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/packet_io.h')
-rw-r--r--include/odp/api/packet_io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h
index 36be5b18e..0151d864c 100644
--- a/include/odp/api/packet_io.h
+++ b/include/odp/api/packet_io.h
@@ -96,7 +96,7 @@ odp_pktio_t odp_pktio_lookup(const char *dev);
* @return Number of packets received
* @retval <0 on failure
*/
-int odp_pktio_recv(odp_pktio_t id, odp_packet_t pkt_table[], unsigned len);
+int odp_pktio_recv(odp_pktio_t id, odp_packet_t pkt_table[], int len);
/**
* Send packets
@@ -108,7 +108,7 @@ int odp_pktio_recv(odp_pktio_t id, odp_packet_t pkt_table[], unsigned len);
* @return Number of packets sent
* @retval <0 on failure
*/
-int odp_pktio_send(odp_pktio_t id, odp_packet_t pkt_table[], unsigned len);
+int odp_pktio_send(odp_pktio_t id, odp_packet_t pkt_table[], int len);
/**
* Set the default input queue to be associated with a pktio handle