net/netlink: Add some comments about 'Input Parameters'

This commit is contained in:
Gregory Nutt 2019-11-19 20:46:43 -06:00
parent 8bc55d4396
commit bc8d964cb9
2 changed files with 16 additions and 0 deletions

View File

@ -100,6 +100,14 @@ extern "C"
* Note: The network will be momentarily locked to support exclusive
* access to the pending response list.
*
* Input Parameters:
* handle - The handle previously provided to the sendto() implementation
* for the protocol. This is an opaque reference to the Netlink
* socket state structure.
* resp - The response to the request. The memory referenced by 'resp'
* must have been allocated via kmm_malloc(). It will be freed
* using kmm_free() after it has been consumed.
*
****************************************************************************/
void netlink_add_response(NETLINK_HANDLE handle,

View File

@ -345,6 +345,14 @@ FAR struct netlink_conn_s *netlink_active(FAR struct sockaddr_nl *addr)
* Note: The network will be momentarily locked to support exclusive
* access to the pending response list.
*
* Input Parameters:
* handle - The handle previously provided to the sendto() implementation
* for the protocol. This is an opaque reference to the Netlink
* socket state structure.
* resp - The response to the request. The memory referenced by 'resp'
* must have been allocated via kmm_malloc(). It will be freed
* using kmm_free() after it has been consumed.
*
****************************************************************************/
void netlink_add_response(NETLINK_HANDLE handle,