Skip to content

Commit 771edca

Browse files
shemmingerdavem330
authored andcommitted
socket: add documentation for missing elements
Fill in missing kernel-doc for missing elements in struct sock. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 57fe147 commit 771edca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/net/sock.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ struct sock_common {
246246
* @sk_policy: flow policy
247247
* @sk_receive_queue: incoming packets
248248
* @sk_wmem_alloc: transmit queue bytes committed
249+
* @sk_tsq_flags: TCP Small Queues flags
249250
* @sk_write_queue: Packet sending queue
250251
* @sk_omem_alloc: "o" is "option" or "other"
251252
* @sk_wmem_queued: persistent queue size
@@ -257,6 +258,7 @@ struct sock_common {
257258
* @sk_pacing_status: Pacing status (requested, handled by sch_fq)
258259
* @sk_max_pacing_rate: Maximum pacing rate (%SO_MAX_PACING_RATE)
259260
* @sk_sndbuf: size of send buffer in bytes
261+
* @__sk_flags_offset: empty field used to determine location of bitfield
260262
* @sk_padding: unused element for alignment
261263
* @sk_no_check_tx: %SO_NO_CHECK setting, set checksum in TX packets
262264
* @sk_no_check_rx: allow zero checksum in RX packets
@@ -277,6 +279,7 @@ struct sock_common {
277279
* @sk_drops: raw/udp drops counter
278280
* @sk_ack_backlog: current listen backlog
279281
* @sk_max_ack_backlog: listen backlog set in listen()
282+
* @sk_uid: user id of owner
280283
* @sk_priority: %SO_PRIORITY setting
281284
* @sk_type: socket type (%SOCK_STREAM, etc)
282285
* @sk_protocol: which protocol this socket belongs in this network family

0 commit comments

Comments
 (0)