Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
proc_net.c File Reference
#include <asm/uaccess.h>
#include <linux/errno.h>
#include <linux/time.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/mount.h>
#include <linux/nsproxy.h>
#include <net/net_namespace.h>
#include <linux/seq_file.h>
#include "internal.h"

Go to the source code of this file.


int seq_open_net (struct inode *ino, struct file *f, const struct seq_operations *ops, int size)
 EXPORT_SYMBOL_GPL (seq_open_net)
int single_open_net (struct inode *inode, struct file *file, int(*show)(struct seq_file *, void *))
 EXPORT_SYMBOL_GPL (single_open_net)
int seq_release_net (struct inode *ino, struct file *f)
 EXPORT_SYMBOL_GPL (seq_release_net)
int single_release_net (struct inode *ino, struct file *f)
 EXPORT_SYMBOL_GPL (single_release_net)
struct proc_dir_entryproc_net_fops_create (struct net *net, const char *name, umode_t mode, const struct file_operations *fops)
 EXPORT_SYMBOL_GPL (proc_net_fops_create)
void proc_net_remove (struct net *net, const char *name)
 EXPORT_SYMBOL_GPL (proc_net_remove)
int __init proc_net_init (void)


struct inode_operations proc_net_inode_operations
struct file_operations proc_net_operations

Function Documentation

EXPORT_SYMBOL_GPL ( seq_open_net  )
EXPORT_SYMBOL_GPL ( single_open_net  )
EXPORT_SYMBOL_GPL ( seq_release_net  )
EXPORT_SYMBOL_GPL ( single_release_net  )
EXPORT_SYMBOL_GPL ( proc_net_fops_create  )
EXPORT_SYMBOL_GPL ( proc_net_remove  )
struct proc_dir_entry* proc_net_fops_create ( struct net net,
const char name,
umode_t  mode,
const struct file_operations fops 

Definition at line 181 of file proc_net.c.

int __init proc_net_init ( void  )

Definition at line 236 of file proc_net.c.

void proc_net_remove ( struct net net,
const char name 

Definition at line 188 of file proc_net.c.

int seq_open_net ( struct inode ino,
struct file f,
const struct seq_operations ops,
int  size 

Definition at line 35 of file proc_net.c.

int seq_release_net ( struct inode ino,
struct file f 

Definition at line 83 of file proc_net.c.

int single_open_net ( struct inode inode,
struct file file,
int(*)(struct seq_file *, void *)  show 

Definition at line 59 of file proc_net.c.

int single_release_net ( struct inode ino,
struct file f 

Definition at line 95 of file proc_net.c.

Variable Documentation

struct inode_operations proc_net_inode_operations
Initial value:
= {
.lookup = proc_tgid_net_lookup,
.getattr = proc_tgid_net_getattr,

Definition at line 154 of file proc_net.c.

struct file_operations proc_net_operations
Initial value:
= {
.readdir = proc_tgid_net_readdir,

Definition at line 174 of file proc_net.c.