Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
netprio_cgroup.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <linux/cgroup.h>
#include <linux/rcupdate.h>
#include <linux/atomic.h>
#include <net/rtnetlink.h>
#include <net/pkt_cls.h>
#include <net/sock.h>
#include <net/netprio_cgroup.h>
#include <linux/fdtable.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define PRIOIDX_SZ   128
 

Functions

void net_prio_attach (struct cgroup *cgrp, struct cgroup_taskset *tset)
 
 module_init (init_cgroup_netprio)
 
 module_exit (exit_cgroup_netprio)
 
 MODULE_LICENSE ("GPL v2")
 

Variables

struct cgroup_subsys net_prio_subsys
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 12 of file netprio_cgroup.c.

#define PRIOIDX_SZ   128

Definition at line 30 of file netprio_cgroup.c.

Function Documentation

module_exit ( exit_cgroup_netprio  )
module_init ( init_cgroup_netprio  )
MODULE_LICENSE ( "GPL v2 )
void net_prio_attach ( struct cgroup *  cgrp,
struct cgroup_taskset tset 
)

Definition at line 251 of file netprio_cgroup.c.

Variable Documentation

struct cgroup_subsys net_prio_subsys
Initial value:
= {
.name = "net_prio",
.create = cgrp_create,
.destroy = cgrp_destroy,
.attach = net_prio_attach,
.subsys_id = net_prio_subsys_id,
.base_cftypes = ss_files,
.module = THIS_MODULE,
.broken_hierarchy = true,
}

Definition at line 277 of file netprio_cgroup.c.