linux/net/sctp/proc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/* SCTP kernel implementation
 * Copyright (c) 2003 International Business Machines, Corp.
 *
 * This file is part of the SCTP kernel implementation
 *
 * Please send any bug reports or fixes you make to the
 * email address(es):
 *    lksctp developers <[email protected]>
 *
 * Written or modified by:
 *    Sridhar Samudrala <[email protected]>
 */

#include <linux/types.h>
#include <linux/seq_file.h>
#include <linux/init.h>
#include <linux/export.h>
#include <net/sctp/sctp.h>
#include <net/ip.h> /* for snmp_fold_field */

static const struct snmp_mib sctp_snmp_list[] =;

/* Display sctp snmp mib statistics(/proc/net/sctp/snmp). */
static int sctp_snmp_seq_show(struct seq_file *seq, void *v)
{}

/* Dump local addresses of an association/endpoint. */
static void sctp_seq_dump_local_addrs(struct seq_file *seq, struct sctp_ep_common *epb)
{}

/* Dump remote addresses of an association. */
static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_association *assoc)
{}

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

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


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


/* Display sctp endpoints (/proc/net/sctp/eps). */
static int sctp_eps_seq_show(struct seq_file *seq, void *v)
{}

static const struct seq_operations sctp_eps_ops =;

struct sctp_ht_iter {};

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

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

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

/* Display sctp associations (/proc/net/sctp/assocs). */
static int sctp_assocs_seq_show(struct seq_file *seq, void *v)
{}

static const struct seq_operations sctp_assoc_ops =;

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

static const struct seq_operations sctp_remaddr_ops =;

/* Set up the proc fs entry for the SCTP protocol. */
int __net_init sctp_proc_init(struct net *net)
{}