#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/proc_fs.h>
#include <linux/errno.h>
#include <linux/seq_file.h>
#include <linux/export.h>
#include <net/net_namespace.h>
#include <net/sock.h>
#include <net/llc.h>
#include <net/llc_c_ac.h>
#include <net/llc_c_ev.h>
#include <net/llc_c_st.h>
#include <net/llc_conn.h>
static void llc_ui_format_mac(struct seq_file *seq, const u8 *addr)
{ … }
static struct sock *llc_get_sk_idx(loff_t pos)
{ … }
static void *llc_seq_start(struct seq_file *seq, loff_t *pos) __acquires(RCU)
{ … }
static struct sock *laddr_hash_next(struct llc_sap *sap, int bucket)
{ … }
static void *llc_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{ … }
static void llc_seq_stop(struct seq_file *seq, void *v)
{ … }
static int llc_seq_socket_show(struct seq_file *seq, void *v)
{ … }
static const char *const llc_conn_state_names[] = …;
static int llc_seq_core_show(struct seq_file *seq, void *v)
{ … }
static const struct seq_operations llc_seq_socket_ops = …;
static const struct seq_operations llc_seq_core_ops = …;
static struct proc_dir_entry *llc_proc_dir;
int __init llc_proc_init(void)
{ … }
void llc_proc_exit(void)
{ … }