diff options
author | Pedro Tammela <pctammela@gmail.com> | 2019-03-14 10:45:23 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-15 15:29:47 -0700 |
commit | 8a3c245c031944f2176118270e7bc5d4fd4a1075 (patch) | |
tree | cc059d7347d01cc19db79e8abe18afd45d8c39dd /include/linux/net.h | |
parent | 228cd2dba27cee9956c1af97e6445be056881e41 (diff) | |
download | linux-8a3c245c031944f2176118270e7bc5d4fd4a1075.tar.gz linux-8a3c245c031944f2176118270e7bc5d4fd4a1075.tar.bz2 linux-8a3c245c031944f2176118270e7bc5d4fd4a1075.zip |
net: add documentation to socket.c
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>
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 651fca72286c..c606c72311d0 100644 --- a/include/linux/net.h +++ b/include/linux/net.h @@ -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, |