proc.c (96b4059f43ce69e9c590f77d6ce3e99888d5cfe6) proc.c (9d35d880e0e4a3ab32d8c12f9e4d76198aadd42d)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* /proc/net/ support for AF_RXRPC
3 *
4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
6 */
7
8#include <linux/module.h>
9#include <net/sock.h>
10#include <net/af_rxrpc.h>
11#include "ar-internal.h"
12
13static const char *const rxrpc_conn_states[RXRPC_CONN__NR_STATES] = {
14 [RXRPC_CONN_UNUSED] = "Unused ",
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* /proc/net/ support for AF_RXRPC
3 *
4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
6 */
7
8#include <linux/module.h>
9#include <net/sock.h>
10#include <net/af_rxrpc.h>
11#include "ar-internal.h"
12
13static const char *const rxrpc_conn_states[RXRPC_CONN__NR_STATES] = {
14 [RXRPC_CONN_UNUSED] = "Unused ",
15 [RXRPC_CONN_CLIENT_UNSECURED] = "ClUnsec ",
15 [RXRPC_CONN_CLIENT] = "Client ",
16 [RXRPC_CONN_SERVICE_PREALLOC] = "SvPrealc",
17 [RXRPC_CONN_SERVICE_UNSECURED] = "SvUnsec ",
18 [RXRPC_CONN_SERVICE_CHALLENGING] = "SvChall ",
19 [RXRPC_CONN_SERVICE] = "SvSecure",
20 [RXRPC_CONN_ABORTED] = "Aborted ",
21};
22

--- 480 unchanged lines hidden ---
16 [RXRPC_CONN_CLIENT] = "Client ",
17 [RXRPC_CONN_SERVICE_PREALLOC] = "SvPrealc",
18 [RXRPC_CONN_SERVICE_UNSECURED] = "SvUnsec ",
19 [RXRPC_CONN_SERVICE_CHALLENGING] = "SvChall ",
20 [RXRPC_CONN_SERVICE] = "SvSecure",
21 [RXRPC_CONN_ABORTED] = "Aborted ",
22};
23

--- 480 unchanged lines hidden ---