Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
sch_api.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/skbuff.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/kmod.h>
#include <linux/list.h>
#include <linux/hrtimer.h>
#include <linux/lockdep.h>
#include <linux/slab.h>
#include <net/net_namespace.h>
#include <net/sock.h>
#include <net/netlink.h>
#include <net/pkt_sched.h>

Go to the source code of this file.

Data Structures

struct  check_loop_arg
 
struct  qdisc_dump_args
 

Functions

int register_qdisc (struct Qdisc_ops *qops)
 
 EXPORT_SYMBOL (register_qdisc)
 
int unregister_qdisc (struct Qdisc_ops *qops)
 
 EXPORT_SYMBOL (unregister_qdisc)
 
void qdisc_list_del (struct Qdisc *q)
 
 EXPORT_SYMBOL (qdisc_list_del)
 
struct Qdiscqdisc_lookup (struct net_device *dev, u32 handle)
 
struct qdisc_rate_tableqdisc_get_rtab (struct tc_ratespec *r, struct nlattr *tab)
 
 EXPORT_SYMBOL (qdisc_get_rtab)
 
void qdisc_put_rtab (struct qdisc_rate_table *tab)
 
 EXPORT_SYMBOL (qdisc_put_rtab)
 
void qdisc_put_stab (struct qdisc_size_table *tab)
 
 EXPORT_SYMBOL (qdisc_put_stab)
 
void __qdisc_calculate_pkt_len (struct sk_buff *skb, const struct qdisc_size_table *stab)
 
 EXPORT_SYMBOL (__qdisc_calculate_pkt_len)
 
void qdisc_warn_nonwc (char *txt, struct Qdisc *qdisc)
 
 EXPORT_SYMBOL (qdisc_warn_nonwc)
 
void qdisc_watchdog_init (struct qdisc_watchdog *wd, struct Qdisc *qdisc)
 
 EXPORT_SYMBOL (qdisc_watchdog_init)
 
void qdisc_watchdog_schedule (struct qdisc_watchdog *wd, psched_time_t expires)
 
 EXPORT_SYMBOL (qdisc_watchdog_schedule)
 
void qdisc_watchdog_cancel (struct qdisc_watchdog *wd)
 
 EXPORT_SYMBOL (qdisc_watchdog_cancel)
 
void qdisc_class_hash_grow (struct Qdisc *sch, struct Qdisc_class_hash *clhash)
 
 EXPORT_SYMBOL (qdisc_class_hash_grow)
 
int qdisc_class_hash_init (struct Qdisc_class_hash *clhash)
 
 EXPORT_SYMBOL (qdisc_class_hash_init)
 
void qdisc_class_hash_destroy (struct Qdisc_class_hash *clhash)
 
 EXPORT_SYMBOL (qdisc_class_hash_destroy)
 
void qdisc_class_hash_insert (struct Qdisc_class_hash *clhash, struct Qdisc_class_common *cl)
 
 EXPORT_SYMBOL (qdisc_class_hash_insert)
 
void qdisc_class_hash_remove (struct Qdisc_class_hash *clhash, struct Qdisc_class_common *cl)
 
 EXPORT_SYMBOL (qdisc_class_hash_remove)
 
void qdisc_tree_decrease_qlen (struct Qdisc *sch, unsigned int n)
 
 EXPORT_SYMBOL (qdisc_tree_decrease_qlen)
 
int tc_classify_compat (struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res)
 
 EXPORT_SYMBOL (tc_classify_compat)
 
int tc_classify (struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res)
 
 EXPORT_SYMBOL (tc_classify)
 
void tcf_destroy (struct tcf_proto *tp)
 
void tcf_destroy_chain (struct tcf_proto **fl)
 
 EXPORT_SYMBOL (tcf_destroy_chain)
 
 subsys_initcall (pktsched_init)
 

Function Documentation

void __qdisc_calculate_pkt_len ( struct sk_buff skb,
const struct qdisc_size_table stab 
)

Definition at line 439 of file sch_api.c.

EXPORT_SYMBOL ( register_qdisc  )
EXPORT_SYMBOL ( unregister_qdisc  )
EXPORT_SYMBOL ( qdisc_list_del  )
EXPORT_SYMBOL ( qdisc_get_rtab  )
EXPORT_SYMBOL ( qdisc_put_rtab  )
EXPORT_SYMBOL ( qdisc_put_stab  )
EXPORT_SYMBOL ( __qdisc_calculate_pkt_len  )
EXPORT_SYMBOL ( qdisc_warn_nonwc  )
EXPORT_SYMBOL ( qdisc_watchdog_init  )
EXPORT_SYMBOL ( qdisc_watchdog_schedule  )
EXPORT_SYMBOL ( qdisc_watchdog_cancel  )
EXPORT_SYMBOL ( qdisc_class_hash_grow  )
EXPORT_SYMBOL ( qdisc_class_hash_init  )
EXPORT_SYMBOL ( qdisc_class_hash_destroy  )
EXPORT_SYMBOL ( qdisc_class_hash_insert  )
EXPORT_SYMBOL ( qdisc_class_hash_remove  )
EXPORT_SYMBOL ( qdisc_tree_decrease_qlen  )
EXPORT_SYMBOL ( tc_classify_compat  )
EXPORT_SYMBOL ( tc_classify  )
EXPORT_SYMBOL ( tcf_destroy_chain  )
void qdisc_class_hash_destroy ( struct Qdisc_class_hash clhash)

Definition at line 596 of file sch_api.c.

void qdisc_class_hash_grow ( struct Qdisc sch,
struct Qdisc_class_hash clhash 
)

Definition at line 546 of file sch_api.c.

int qdisc_class_hash_init ( struct Qdisc_class_hash clhash)

Definition at line 582 of file sch_api.c.

void qdisc_class_hash_insert ( struct Qdisc_class_hash clhash,
struct Qdisc_class_common cl 
)

Definition at line 602 of file sch_api.c.

void qdisc_class_hash_remove ( struct Qdisc_class_hash clhash,
struct Qdisc_class_common cl 
)

Definition at line 614 of file sch_api.c.

struct qdisc_rate_table* qdisc_get_rtab ( struct tc_ratespec r,
struct nlattr tab 
)
read

Definition at line 290 of file sch_api.c.

void qdisc_list_del ( struct Qdisc q)

Definition at line 228 of file sch_api.c.

struct Qdisc* qdisc_lookup ( struct net_device dev,
u32  handle 
)
read

Definition at line 235 of file sch_api.c.

void qdisc_put_rtab ( struct qdisc_rate_table tab)

Definition at line 317 of file sch_api.c.

void qdisc_put_stab ( struct qdisc_size_table tab)

Definition at line 406 of file sch_api.c.

void qdisc_tree_decrease_qlen ( struct Qdisc sch,
unsigned int  n 
)

Definition at line 642 of file sch_api.c.

void qdisc_warn_nonwc ( char txt,
struct Qdisc qdisc 
)

Definition at line 467 of file sch_api.c.

void qdisc_watchdog_cancel ( struct qdisc_watchdog wd)

Definition at line 511 of file sch_api.c.

void qdisc_watchdog_init ( struct qdisc_watchdog wd,
struct Qdisc qdisc 
)

Definition at line 488 of file sch_api.c.

void qdisc_watchdog_schedule ( struct qdisc_watchdog wd,
psched_time_t  expires 
)

Definition at line 496 of file sch_api.c.

int register_qdisc ( struct Qdisc_ops qops)

Definition at line 140 of file sch_api.c.

subsys_initcall ( pktsched_init  )
int tc_classify ( struct sk_buff skb,
const struct tcf_proto tp,
struct tcf_result res 
)

Definition at line 1682 of file sch_api.c.

int tc_classify_compat ( struct sk_buff skb,
const struct tcf_proto tp,
struct tcf_result res 
)

Definition at line 1658 of file sch_api.c.

void tcf_destroy ( struct tcf_proto tp)

Definition at line 1712 of file sch_api.c.

void tcf_destroy_chain ( struct tcf_proto **  fl)

Definition at line 1719 of file sch_api.c.

int unregister_qdisc ( struct Qdisc_ops qops)

Definition at line 184 of file sch_api.c.