diff --git a/features/netsocket/NetworkStack.h b/features/netsocket/NetworkStack.h index 945b8d53d4..cf0ea24b18 100644 --- a/features/netsocket/NetworkStack.h +++ b/features/netsocket/NetworkStack.h @@ -336,7 +336,7 @@ protected: */ virtual void socket_attach(nsapi_socket_t handle, void (*callback)(void *), void *data) = 0; - /* Set stack-specific socket options + /** Set stack-specific socket options * * The setsockopt allow an application to pass stack-specific hints * to the underlying stack. For unsupported options, @@ -352,7 +352,7 @@ protected: virtual nsapi_error_t setsockopt(nsapi_socket_t handle, int level, int optname, const void *optval, unsigned optlen); - /* Get stack-specific socket options + /** Get stack-specific socket options * * The getstackopt allow an application to retrieve stack-specific hints * from the underlying stack. For unsupported options, diff --git a/features/netsocket/nsapi_types.h b/features/netsocket/nsapi_types.h index 232236b6c6..7f701d0de5 100644 --- a/features/netsocket/nsapi_types.h +++ b/features/netsocket/nsapi_types.h @@ -351,7 +351,7 @@ typedef struct nsapi_stack_api { */ nsapi_error_t (*add_dns_server)(nsapi_stack_t *stack, nsapi_addr_t addr); - /* Set stack-specific stack options + /** Set stack-specific stack options * * The setstackopt allow an application to pass stack-specific hints * to the underlying stack. For unsupported options, @@ -367,7 +367,7 @@ typedef struct nsapi_stack_api { nsapi_error_t (*setstackopt)(nsapi_stack_t *stack, int level, int optname, const void *optval, unsigned optlen); - /* Get stack-specific stack options + /** Get stack-specific stack options * * The getstackopt allow an application to retrieve stack-specific hints * from the underlying stack. For unsupported options, @@ -567,7 +567,7 @@ typedef struct nsapi_stack_api { void (*socket_attach)(nsapi_stack_t *stack, nsapi_socket_t socket, void (*callback)(void *), void *data); - /* Set stack-specific socket options + /** Set stack-specific socket options * * The setsockopt allow an application to pass stack-specific hints * to the underlying stack. For unsupported options, @@ -584,7 +584,7 @@ typedef struct nsapi_stack_api { nsapi_error_t (*setsockopt)(nsapi_stack_t *stack, nsapi_socket_t socket, int level, int optname, const void *optval, unsigned optlen); - /* Get stack-specific socket options + /** Get stack-specific socket options * * The getstackopt allow an application to retrieve stack-specific hints * from the underlying stack. For unsupported options,