diff options
| -rw-r--r-- | man5/proc.5 | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index 5ef5cef7a1..0a215cc7f6 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -2839,7 +2839,8 @@ use apart from debugging. The "sl" value is the kernel hash slot for the socket, the "local_address" is the local address and port number pair. The "rem_address" is the remote address and port number pair -(if connected). "St" is the internal status of the socket. +(if connected). +"St" is the internal status of the socket. The "tx_queue" and "rx_queue" are the outgoing and incoming data queue in terms of kernel memory usage. The "tr", "tm\->when", and "rexmits" fields @@ -2911,7 +2912,8 @@ that commences with the character '@'. .TP .I /proc/net/netfilter/nfnetlink_queue This file contains information about netfilter userspace queueing, if used. -Each line represents a queue. Queues that have not been subscribed to +Each line represents a queue. +Queues that have not been subscribed to by userspace are not shown. .nf @@ -2923,13 +2925,15 @@ The fields in each line are: .RS 7 .TP 5 (1) -The ID of the queue. This matches what is specified in the +The ID of the queue. +This matches what is specified in the .B \-\-queue\-num or .B \-\-queue\-balance options to the .BR iptables (8) -NFQUEUE target. See +NFQUEUE target. +See .BR iptables-extensions (8) for more information. .TP @@ -2941,7 +2945,8 @@ The number of packets currently queued and waiting to be processed by the application. .TP (4) -The copy mode of the queue. It is either 1 (metadata only) or 2 +The copy mode of the queue. +It is either 1 (metadata only) or 2 (also copy payload data to userspace). .TP (5) @@ -2949,17 +2954,21 @@ Copy range, i.e. how many bytes of packet payload should be copied to userspace at most. .TP (6) -queue dropped. Number of packets that had to be dropped by the kernel because +queue dropped. +Number of packets that had to be dropped by the kernel because too many packets are already waiting for userspace to send back the mandatory accept/drop verdicts. .TP (7) -queue user dropped. Number of packets that were dropped within the netlink -subsystem. Such drops usually happen when the corresponding socket buffer is +queue user dropped. +Number of packets that were dropped within the netlink +subsystem. +Such drops usually happen when the corresponding socket buffer is full, i.e. userspace is not able to read messages fast enough. .TP (8) -sequence number. Every queued packet is associated with a (32-bit) +sequence number. +Every queued packet is associated with a (32-bit) monotonically-increasing sequence number. This shows the ID of the most recent packet queued. .RE |
