linux/net/rxrpc/proc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* /proc/net/ support for AF_RXRPC
 *
 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells ([email protected])
 */

#include <linux/module.h>
#include <net/sock.h>
#include <net/af_rxrpc.h>
#include "ar-internal.h"

static const char *const rxrpc_conn_states[RXRPC_CONN__NR_STATES] =;

/*
 * generate a list of extant and dead calls in /proc/net/rxrpc_calls
 */
static void *rxrpc_call_seq_start(struct seq_file *seq, loff_t *_pos)
	__acquires(rcu)
{}

static void *rxrpc_call_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{}

static void rxrpc_call_seq_stop(struct seq_file *seq, void *v)
	__releases(rcu)
{}

static int rxrpc_call_seq_show(struct seq_file *seq, void *v)
{}

const struct seq_operations rxrpc_call_seq_ops =;

/*
 * generate a list of extant virtual connections in /proc/net/rxrpc_conns
 */
static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos)
	__acquires(rxnet->conn_lock)
{}

static void *rxrpc_connection_seq_next(struct seq_file *seq, void *v,
				       loff_t *pos)
{}

static void rxrpc_connection_seq_stop(struct seq_file *seq, void *v)
	__releases(rxnet->conn_lock)
{}

static int rxrpc_connection_seq_show(struct seq_file *seq, void *v)
{}

const struct seq_operations rxrpc_connection_seq_ops =;

/*
 * generate a list of extant virtual bundles in /proc/net/rxrpc/bundles
 */
static void *rxrpc_bundle_seq_start(struct seq_file *seq, loff_t *_pos)
	__acquires(rxnet->conn_lock)
{}

static void *rxrpc_bundle_seq_next(struct seq_file *seq, void *v,
				       loff_t *pos)
{}

static void rxrpc_bundle_seq_stop(struct seq_file *seq, void *v)
	__releases(rxnet->conn_lock)
{}

static int rxrpc_bundle_seq_show(struct seq_file *seq, void *v)
{}

const struct seq_operations rxrpc_bundle_seq_ops =;

/*
 * generate a list of extant virtual peers in /proc/net/rxrpc/peers
 */
static int rxrpc_peer_seq_show(struct seq_file *seq, void *v)
{}

static void *rxrpc_peer_seq_start(struct seq_file *seq, loff_t *_pos)
	__acquires(rcu)
{}

static void *rxrpc_peer_seq_next(struct seq_file *seq, void *v, loff_t *_pos)
{}

static void rxrpc_peer_seq_stop(struct seq_file *seq, void *v)
	__releases(rcu)
{}


const struct seq_operations rxrpc_peer_seq_ops =;

/*
 * Generate a list of extant virtual local endpoints in /proc/net/rxrpc/locals
 */
static int rxrpc_local_seq_show(struct seq_file *seq, void *v)
{}

static void *rxrpc_local_seq_start(struct seq_file *seq, loff_t *_pos)
	__acquires(rcu)
{}

static void *rxrpc_local_seq_next(struct seq_file *seq, void *v, loff_t *_pos)
{}

static void rxrpc_local_seq_stop(struct seq_file *seq, void *v)
	__releases(rcu)
{}

const struct seq_operations rxrpc_local_seq_ops =;

/*
 * Display stats in /proc/net/rxrpc/stats
 */
int rxrpc_stats_show(struct seq_file *seq, void *v)
{}

/*
 * Clear stats if /proc/net/rxrpc/stats is written to.
 */
int rxrpc_stats_clear(struct file *file, char *buf, size_t size)
{}