Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/skbuff.h>
#include <linux/random.h>
#include <linux/if_vlan.h>
#include <linux/tc_ematch/tc_em_meta.h>
#include <net/dst.h>
#include <net/route.h>
#include <net/pkt_cls.h>
#include <net/sock.h>
Go to the source code of this file.
Data Structures | |
struct | meta_obj |
struct | meta_value |
struct | meta_match |
struct | meta_ops |
struct | meta_type_ops |
Macros | |
#define | META_COLLECTOR(FUNC) |
#define | SKIP_NONLOCAL(skb) |
#define | META_ID(name) TCF_META_ID_##name |
#define | META_FUNC(name) { .get = meta_##name } |
Functions | |
META_COLLECTOR (int_random) | |
META_COLLECTOR (int_loadavg_0) | |
META_COLLECTOR (int_loadavg_1) | |
META_COLLECTOR (int_loadavg_2) | |
META_COLLECTOR (int_dev) | |
META_COLLECTOR (var_dev) | |
META_COLLECTOR (int_vlan_tag) | |
META_COLLECTOR (int_priority) | |
META_COLLECTOR (int_protocol) | |
META_COLLECTOR (int_pkttype) | |
META_COLLECTOR (int_pktlen) | |
META_COLLECTOR (int_datalen) | |
META_COLLECTOR (int_maclen) | |
META_COLLECTOR (int_rxhash) | |
META_COLLECTOR (int_mark) | |
META_COLLECTOR (int_tcindex) | |
META_COLLECTOR (int_rtclassid) | |
META_COLLECTOR (int_rtiif) | |
META_COLLECTOR (int_sk_family) | |
META_COLLECTOR (int_sk_state) | |
META_COLLECTOR (int_sk_reuse) | |
META_COLLECTOR (int_sk_bound_if) | |
META_COLLECTOR (var_sk_bound_if) | |
META_COLLECTOR (int_sk_refcnt) | |
META_COLLECTOR (int_sk_rcvbuf) | |
META_COLLECTOR (int_sk_shutdown) | |
META_COLLECTOR (int_sk_proto) | |
META_COLLECTOR (int_sk_type) | |
META_COLLECTOR (int_sk_rmem_alloc) | |
META_COLLECTOR (int_sk_wmem_alloc) | |
META_COLLECTOR (int_sk_omem_alloc) | |
META_COLLECTOR (int_sk_rcv_qlen) | |
META_COLLECTOR (int_sk_snd_qlen) | |
META_COLLECTOR (int_sk_wmem_queued) | |
META_COLLECTOR (int_sk_fwd_alloc) | |
META_COLLECTOR (int_sk_sndbuf) | |
META_COLLECTOR (int_sk_alloc) | |
META_COLLECTOR (int_sk_hash) | |
META_COLLECTOR (int_sk_lingertime) | |
META_COLLECTOR (int_sk_err_qlen) | |
META_COLLECTOR (int_sk_ack_bl) | |
META_COLLECTOR (int_sk_max_ack_bl) | |
META_COLLECTOR (int_sk_prio) | |
META_COLLECTOR (int_sk_rcvlowat) | |
META_COLLECTOR (int_sk_rcvtimeo) | |
META_COLLECTOR (int_sk_sndtimeo) | |
META_COLLECTOR (int_sk_sendmsg_off) | |
META_COLLECTOR (int_sk_write_pend) | |
MODULE_LICENSE ("GPL") | |
module_init (init_em_meta) | |
module_exit (exit_em_meta) | |
MODULE_ALIAS_TCF_EMATCH (TCF_EM_META) | |
#define META_COLLECTOR | ( | FUNC | ) |
#define SKIP_NONLOCAL | ( | skb | ) |
MODULE_ALIAS_TCF_EMATCH | ( | TCF_EM_META | ) |
module_exit | ( | exit_em_meta | ) |
module_init | ( | init_em_meta | ) |
MODULE_LICENSE | ( | "GPL" | ) |