v3: - socket() 0 is valid descr, so init it to -1.
- use ssize_t type to return readable return codes.
- use standard errno codes for failures;
v2:
In that version I tried to account all comments together. Boolean,
loop, API changes and etc.
Maxim Uvarov (10):
linux-generic: set not initialized socket to -1
API: promisc mode manipulation functions
API: pktio: mac addr functions
cunit: pktio: mtu and promisc mode
cunit: add mac test
API: odp_pktio_open loop back interface
linux-generic: odp_pktio_open loop support
cunit: use special device for testing
linux-generic: correct socket get for mtu functions
API and linux-generic: pktio update return codes
platform/linux-generic/include/api/odp_packet_io.h | 57 +++++-
platform/linux-generic/include/api/odp_std_types.h | 2 +
platform/linux-generic/odp_packet_io.c | 219 ++++++++++++++++++++-
test/validation/Makefile.am | 4 +-
test/validation/odp_pktio.c | 217 ++++++++++++++++++++
5 files changed, 491 insertions(+), 8 deletions(-)
create mode 100644 test/validation/odp_pktio.c
--
1.8.5.1.163.gd7aced9
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp