net: add documentation to socket.c
[ Upstream commit 8a3c245c031944f2176118270e7bc5d4fd4a1075 ] Adds missing sphinx documentation to the socket.c's functions. Also fixes some whitespaces. I also changed the style of older documentation as an effort to have an uniform documentation style. Signed-off-by: Pedro Tammela <pctammela@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Sasha Levin
parent
8a8ea7f1bc
commit
137e2b34d1
@@ -83,6 +83,12 @@ enum sock_type {
|
||||
|
||||
#endif /* ARCH_HAS_SOCKET_TYPES */
|
||||
|
||||
/**
|
||||
* enum sock_shutdown_cmd - Shutdown types
|
||||
* @SHUT_RD: shutdown receptions
|
||||
* @SHUT_WR: shutdown transmissions
|
||||
* @SHUT_RDWR: shutdown receptions/transmissions
|
||||
*/
|
||||
enum sock_shutdown_cmd {
|
||||
SHUT_RD,
|
||||
SHUT_WR,
|
||||
|
||||
Reference in New Issue
Block a user