summaryrefslogtreecommitdiff
path: root/net/mptcp/mib.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@gmail.com>2021-01-09 03:48:01 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-10 05:18:44 +0300
commit0be2ac287bcc8a5b60d7c9ab11892a774052d269 (patch)
treebb1de506160dd06bb0c95f3935bedeb55c69b590 /net/mptcp/mib.c
parent6e8b244a3e9d989f8356c77211b678c106f23a27 (diff)
downloadlinux-0be2ac287bcc8a5b60d7c9ab11892a774052d269.tar.xz
mptcp: add the mibs for MP_PRIO
This patch added the mibs for MP_PRIO, MPTCP_MIB_MPPRIOTX for transmitting of the MP_PRIO suboption, and MPTCP_MIB_MPPRIORX for receiving of it. Signed-off-by: Geliang Tang <geliangtang@gmail.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/mib.c')
-rw-r--r--net/mptcp/mib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mptcp/mib.c b/net/mptcp/mib.c
index b921cbdd9aaa..8ca196489893 100644
--- a/net/mptcp/mib.c
+++ b/net/mptcp/mib.c
@@ -31,6 +31,8 @@ static const struct snmp_mib mptcp_snmp_list[] = {
SNMP_MIB_ITEM("EchoAdd", MPTCP_MIB_ECHOADD),
SNMP_MIB_ITEM("RmAddr", MPTCP_MIB_RMADDR),
SNMP_MIB_ITEM("RmSubflow", MPTCP_MIB_RMSUBFLOW),
+ SNMP_MIB_ITEM("MPPrioTx", MPTCP_MIB_MPPRIOTX),
+ SNMP_MIB_ITEM("MPPrioRx", MPTCP_MIB_MPPRIORX),
SNMP_MIB_SENTINEL
};