aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-07-12 12:29:06 -0400
committerDavid S. Miller <davem@davemloft.net>2017-07-12 17:39:43 -0400
commit771edcafa753aad304babd3bab8e413574d5db3b (patch)
tree8a0be3d339b9ea47cff68395ca527d017002edee
parent57fe14790b88122fb34b68308b9aa9a643457ea7 (diff)
socket: add documentation for missing elements
Fill in missing kernel-doc for missing elements in struct sock. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/sock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 8c85791fc196..f69c8c2782df 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -246,6 +246,7 @@ struct sock_common {
246 * @sk_policy: flow policy 246 * @sk_policy: flow policy
247 * @sk_receive_queue: incoming packets 247 * @sk_receive_queue: incoming packets
248 * @sk_wmem_alloc: transmit queue bytes committed 248 * @sk_wmem_alloc: transmit queue bytes committed
249 * @sk_tsq_flags: TCP Small Queues flags
249 * @sk_write_queue: Packet sending queue 250 * @sk_write_queue: Packet sending queue
250 * @sk_omem_alloc: "o" is "option" or "other" 251 * @sk_omem_alloc: "o" is "option" or "other"
251 * @sk_wmem_queued: persistent queue size 252 * @sk_wmem_queued: persistent queue size
@@ -257,6 +258,7 @@ struct sock_common {
257 * @sk_pacing_status: Pacing status (requested, handled by sch_fq) 258 * @sk_pacing_status: Pacing status (requested, handled by sch_fq)
258 * @sk_max_pacing_rate: Maximum pacing rate (%SO_MAX_PACING_RATE) 259 * @sk_max_pacing_rate: Maximum pacing rate (%SO_MAX_PACING_RATE)
259 * @sk_sndbuf: size of send buffer in bytes 260 * @sk_sndbuf: size of send buffer in bytes
261 * @__sk_flags_offset: empty field used to determine location of bitfield
260 * @sk_padding: unused element for alignment 262 * @sk_padding: unused element for alignment
261 * @sk_no_check_tx: %SO_NO_CHECK setting, set checksum in TX packets 263 * @sk_no_check_tx: %SO_NO_CHECK setting, set checksum in TX packets
262 * @sk_no_check_rx: allow zero checksum in RX packets 264 * @sk_no_check_rx: allow zero checksum in RX packets
@@ -277,6 +279,7 @@ struct sock_common {
277 * @sk_drops: raw/udp drops counter 279 * @sk_drops: raw/udp drops counter
278 * @sk_ack_backlog: current listen backlog 280 * @sk_ack_backlog: current listen backlog
279 * @sk_max_ack_backlog: listen backlog set in listen() 281 * @sk_max_ack_backlog: listen backlog set in listen()
282 * @sk_uid: user id of owner
280 * @sk_priority: %SO_PRIORITY setting 283 * @sk_priority: %SO_PRIORITY setting
281 * @sk_type: socket type (%SOCK_STREAM, etc) 284 * @sk_type: socket type (%SOCK_STREAM, etc)
282 * @sk_protocol: which protocol this socket belongs in this network family 285 * @sk_protocol: which protocol this socket belongs in this network family