.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * INET An implementation of the TCP/IP protocol suite for the LINUX |
---|
3 | 4 | * operating system. INET is implemented using the BSD Socket |
---|
.. | .. |
---|
25 | 26 | * split functions for more readibility. |
---|
26 | 27 | * Andi Kleen : Add support for /proc/net/netstat |
---|
27 | 28 | * Arnaldo C. Melo : Convert to seq_file |
---|
28 | | - * |
---|
29 | | - * This program is free software; you can redistribute it and/or |
---|
30 | | - * modify it under the terms of the GNU General Public License |
---|
31 | | - * as published by the Free Software Foundation; either version |
---|
32 | | - * 2 of the License, or (at your option) any later version. |
---|
33 | 29 | */ |
---|
34 | 30 | #include <linux/types.h> |
---|
35 | 31 | #include <net/net_namespace.h> |
---|
36 | 32 | #include <net/icmp.h> |
---|
37 | 33 | #include <net/protocol.h> |
---|
38 | 34 | #include <net/tcp.h> |
---|
| 35 | +#include <net/mptcp.h> |
---|
39 | 36 | #include <net/udp.h> |
---|
40 | 37 | #include <net/udplite.h> |
---|
41 | 38 | #include <linux/bottom_half.h> |
---|
.. | .. |
---|
72 | 69 | seq_printf(seq, "RAW: inuse %d\n", |
---|
73 | 70 | sock_prot_inuse_get(net, &raw_prot)); |
---|
74 | 71 | seq_printf(seq, "FRAG: inuse %u memory %lu\n", |
---|
75 | | - atomic_read(&net->ipv4.frags.rhashtable.nelems), |
---|
76 | | - frag_mem_limit(&net->ipv4.frags)); |
---|
| 72 | + atomic_read(&net->ipv4.fqdir->rhashtable.nelems), |
---|
| 73 | + frag_mem_limit(net->ipv4.fqdir)); |
---|
77 | 74 | return 0; |
---|
78 | 75 | } |
---|
79 | 76 | |
---|
.. | .. |
---|
219 | 216 | SNMP_MIB_ITEM("TCPRenoRecoveryFail", LINUX_MIB_TCPRENORECOVERYFAIL), |
---|
220 | 217 | SNMP_MIB_ITEM("TCPSackRecoveryFail", LINUX_MIB_TCPSACKRECOVERYFAIL), |
---|
221 | 218 | SNMP_MIB_ITEM("TCPRcvCollapsed", LINUX_MIB_TCPRCVCOLLAPSED), |
---|
| 219 | + SNMP_MIB_ITEM("TCPBacklogCoalesce", LINUX_MIB_TCPBACKLOGCOALESCE), |
---|
222 | 220 | SNMP_MIB_ITEM("TCPDSACKOldSent", LINUX_MIB_TCPDSACKOLDSENT), |
---|
223 | 221 | SNMP_MIB_ITEM("TCPDSACKOfoSent", LINUX_MIB_TCPDSACKOFOSENT), |
---|
224 | 222 | SNMP_MIB_ITEM("TCPDSACKRecv", LINUX_MIB_TCPDSACKRECV), |
---|
.. | .. |
---|
291 | 289 | SNMP_MIB_ITEM("TCPZeroWindowDrop", LINUX_MIB_TCPZEROWINDOWDROP), |
---|
292 | 290 | SNMP_MIB_ITEM("TCPRcvQDrop", LINUX_MIB_TCPRCVQDROP), |
---|
293 | 291 | SNMP_MIB_ITEM("TCPWqueueTooBig", LINUX_MIB_TCPWQUEUETOOBIG), |
---|
| 292 | + SNMP_MIB_ITEM("TCPFastOpenPassiveAltKey", LINUX_MIB_TCPFASTOPENPASSIVEALTKEY), |
---|
| 293 | + SNMP_MIB_ITEM("TcpTimeoutRehash", LINUX_MIB_TCPTIMEOUTREHASH), |
---|
| 294 | + SNMP_MIB_ITEM("TcpDuplicateDataRehash", LINUX_MIB_TCPDUPLICATEDATAREHASH), |
---|
| 295 | + SNMP_MIB_ITEM("TCPDSACKRecvSegs", LINUX_MIB_TCPDSACKRECVSEGS), |
---|
| 296 | + SNMP_MIB_ITEM("TCPDSACKIgnoredDubious", LINUX_MIB_TCPDSACKIGNOREDDUBIOUS), |
---|
294 | 297 | SNMP_MIB_SENTINEL |
---|
295 | 298 | }; |
---|
296 | 299 | |
---|
.. | .. |
---|
485 | 488 | offsetof(struct ipstats_mib, syncp))); |
---|
486 | 489 | |
---|
487 | 490 | seq_putc(seq, '\n'); |
---|
| 491 | + mptcp_seq_show(seq); |
---|
488 | 492 | return 0; |
---|
489 | 493 | } |
---|
490 | 494 | |
---|