Linux Kernel
3.7.1
|
#include <linux/netdevice.h>
#include <linux/types.h>
#include <linux/rcupdate.h>
#include <linux/pkt_sched.h>
#include <linux/pkt_cls.h>
#include <net/gen_stats.h>
#include <net/rtnetlink.h>
Go to the source code of this file.
Data Structures | |
struct | qdisc_rate_table |
struct | qdisc_size_table |
struct | Qdisc |
struct | Qdisc_class_ops |
struct | Qdisc_ops |
struct | tcf_result |
struct | tcf_proto_ops |
struct | tcf_proto |
struct | qdisc_skb_cb |
struct | Qdisc_class_common |
struct | Qdisc_class_hash |
Macros | |
#define | TCQ_F_BUILTIN 1 |
#define | TCQ_F_INGRESS 2 |
#define | TCQ_F_CAN_BYPASS 4 |
#define | TCQ_F_MQROOT 8 |
#define | TCQ_F_WARN_NONWC (1 << 16) |
#define | tcf_tree_lock(tp) sch_tree_lock((tp)->q) |
#define | tcf_tree_unlock(tp) sch_tree_unlock((tp)->q) |
#define | net_xmit_drop_count(e) (1) |
Enumerations | |
enum | qdisc_state_t { __QDISC_STATE_SCHED, __QDISC_STATE_DEACTIVATED, __QDISC_STATE_THROTTLED } |
enum | qdisc___state_t { __QDISC___STATE_RUNNING = 1 } |
enum | net_xmit_qdisc_t { __NET_XMIT_STOLEN = 0x00010000, __NET_XMIT_BYPASS = 0x00020000 } |
Variables | |
struct Qdisc | noop_qdisc |
struct Qdisc_ops | noop_qdisc_ops |
struct Qdisc_ops | pfifo_fast_ops |
struct Qdisc_ops | mq_qdisc_ops |
#define net_xmit_drop_count | ( | e | ) | (1) |
Definition at line 443 of file sch_generic.h.
#define tcf_tree_lock | ( | tp | ) | sch_tree_lock((tp)->q) |
Definition at line 304 of file sch_generic.h.
#define tcf_tree_unlock | ( | tp | ) | sch_tree_unlock((tp)->q) |
Definition at line 305 of file sch_generic.h.
#define TCQ_F_BUILTIN 1 |
Definition at line 49 of file sch_generic.h.
#define TCQ_F_CAN_BYPASS 4 |
Definition at line 51 of file sch_generic.h.
#define TCQ_F_INGRESS 2 |
Definition at line 50 of file sch_generic.h.
#define TCQ_F_MQROOT 8 |
Definition at line 52 of file sch_generic.h.
#define TCQ_F_WARN_NONWC (1 << 16) |
Definition at line 53 of file sch_generic.h.
enum net_xmit_qdisc_t |
Definition at line 435 of file sch_generic.h.
enum qdisc___state_t |
Definition at line 33 of file sch_generic.h.
enum qdisc_state_t |
Definition at line 24 of file sch_generic.h.
void dev_activate | ( | struct net_device * | dev | ) |
Definition at line 730 of file sch_generic.c.
void dev_deactivate | ( | struct net_device * | dev | ) |
Definition at line 843 of file sch_generic.c.
dev_deactivate_many - deactivate transmissions on several devices : list of devices to deactivate
This function returns only when all outstanding transmissions have completed, unless all devices are in dismantle phase.
Definition at line 814 of file sch_generic.c.
Definition at line 651 of file sch_generic.c.
void dev_init_scheduler | ( | struct net_device * | dev | ) |
Definition at line 863 of file sch_generic.c.
void dev_shutdown | ( | struct net_device * | dev | ) |
Definition at line 888 of file sch_generic.c.
Definition at line 532 of file sch_generic.c.
void qdisc_class_hash_destroy | ( | struct Qdisc_class_hash * | ) |
void qdisc_class_hash_grow | ( | struct Qdisc * | , |
struct Qdisc_class_hash * | |||
) |
int qdisc_class_hash_init | ( | struct Qdisc_class_hash * | ) |
void qdisc_class_hash_insert | ( | struct Qdisc_class_hash * | , |
struct Qdisc_class_common * | |||
) |
void qdisc_class_hash_remove | ( | struct Qdisc_class_hash * | , |
struct Qdisc_class_common * | |||
) |
|
read |
Definition at line 576 of file sch_generic.c.
Definition at line 619 of file sch_generic.c.
Definition at line 597 of file sch_generic.c.
Definition at line 357 of file sch_generic.c.