net/netlink: Add some comments about 'Input Parameters'
This commit is contained in:
parent
8bc55d4396
commit
bc8d964cb9
|
@ -100,6 +100,14 @@ extern "C"
|
||||||
* Note: The network will be momentarily locked to support exclusive
|
* Note: The network will be momentarily locked to support exclusive
|
||||||
* access to the pending response list.
|
* 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,
|
void netlink_add_response(NETLINK_HANDLE handle,
|
||||||
|
|
|
@ -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
|
* Note: The network will be momentarily locked to support exclusive
|
||||||
* access to the pending response list.
|
* 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,
|
void netlink_add_response(NETLINK_HANDLE handle,
|
||||||
|
|
Loading…
Reference in New Issue