You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The unit tests and API documentation should match, where all status codes in the API documentation are tested in a unit test, and likewise all codes being tested for are documented in the API.
Describe the solution you'd like
NOTE: This API does not have a "unit-tests" program to test these status codes - Hence why they are all flagged as being only in doxygen. The "network-api-test" program does exercise many of them, but isn't included in this test run.
Resolve the following mismatches:
File src/os/inc/osapi-sockets.h, function OS_SocketAddrInit():
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketAddrToString():
ONLY IN DOXY: OS_ERR_INVALID_SIZE
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketAddrFromString():
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketAddrGetPort():
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketAddrSetPort():
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketOpen():
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketBind():
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketConnect():
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketShutdown():
File src/os/inc/osapi-sockets.h, function OS_SocketAccept():
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketRecvFrom():
ONLY IN DOXY: OS_ERR_INVALID_SIZE
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketSendTo():
ONLY IN DOXY: OS_ERR_INVALID_SIZE
ONLY IN DOXY: OS_INVALID_POINTER
File src/os/inc/osapi-sockets.h, function OS_SocketGetIdByName():
ONLY IN DOXY: OS_ERR_NAME_NOT_FOUND
ONLY IN DOXY: OS_ERR_NAME_TOO_LONG
ONLY IN DOXY: OS_INVALID_POINTER
ONLY IN DOXY: OS_SUCCESS
File src/os/inc/osapi-sockets.h, function OS_SocketGetInfo():
ONLY IN DOXY: OS_ERR_INVALID_ID
ONLY IN DOXY: OS_INVALID_POINTER
ONLY IN DOXY: OS_SUCCESS
Additional context
Originally noted in #331, split into separate work items.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Combine the "zero copy" and the normal CFE buffer descriptor into a single
unified CFE_SB_BufferD_t object. This cleans up a bunch of extra logic
related to zero-copy buffers, including the extra descriptor object. The
result is a simpler zero-copy design that is much less different from the
standard (non-zero-copy) message path.
All message descriptor objects are now tracked in a list by SB, not just
the zero-copy descriptors (for consistency - if any buffers need to be
tracked, they should all be tracked).
jphickey
pushed a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
Is your feature request related to a problem? Please describe.
The unit tests and API documentation should match, where all status codes in the API documentation are tested in a unit test, and likewise all codes being tested for are documented in the API.
Describe the solution you'd like
NOTE: This API does not have a "unit-tests" program to test these status codes - Hence why they are all flagged as being only in doxygen. The "network-api-test" program does exercise many of them, but isn't included in this test run.
Resolve the following mismatches:
File
src/os/inc/osapi-sockets.h
, functionOS_SocketAddrInit()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketAddrToString()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketAddrFromString()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketAddrGetPort()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketAddrSetPort()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketOpen()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketBind()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketConnect()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketShutdown()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketAccept()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketRecvFrom()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketSendTo()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketGetIdByName()
:File
src/os/inc/osapi-sockets.h
, functionOS_SocketGetInfo()
:Additional context
Originally noted in #331, split into separate work items.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: