Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
act_api.c File Reference
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <linux/init.h>
#include <linux/kmod.h>
#include <linux/err.h>
#include <linux/module.h>
#include <net/net_namespace.h>
#include <net/sock.h>
#include <net/sch_generic.h>
#include <net/act_api.h>
#include <net/netlink.h>

Go to the source code of this file.

Functions

void tcf_hash_destroy (struct tcf_common *p, struct tcf_hashinfo *hinfo)
 
 EXPORT_SYMBOL (tcf_hash_destroy)
 
int tcf_hash_release (struct tcf_common *p, int bind, struct tcf_hashinfo *hinfo)
 
 EXPORT_SYMBOL (tcf_hash_release)
 
int tcf_generic_walker (struct sk_buff *skb, struct netlink_callback *cb, int type, struct tc_action *a)
 
 EXPORT_SYMBOL (tcf_generic_walker)
 
struct tcf_commontcf_hash_lookup (u32 index, struct tcf_hashinfo *hinfo)
 
 EXPORT_SYMBOL (tcf_hash_lookup)
 
u32 tcf_hash_new_index (u32 *idx_gen, struct tcf_hashinfo *hinfo)
 
 EXPORT_SYMBOL (tcf_hash_new_index)
 
int tcf_hash_search (struct tc_action *a, u32 index)
 
 EXPORT_SYMBOL (tcf_hash_search)
 
struct tcf_commontcf_hash_check (u32 index, struct tc_action *a, int bind, struct tcf_hashinfo *hinfo)
 
 EXPORT_SYMBOL (tcf_hash_check)
 
struct tcf_commontcf_hash_create (u32 index, struct nlattr *est, struct tc_action *a, int size, int bind, u32 *idx_gen, struct tcf_hashinfo *hinfo)
 
 EXPORT_SYMBOL (tcf_hash_create)
 
void tcf_hash_insert (struct tcf_common *p, struct tcf_hashinfo *hinfo)
 
 EXPORT_SYMBOL (tcf_hash_insert)
 
int tcf_register_action (struct tc_action_ops *act)
 
 EXPORT_SYMBOL (tcf_register_action)
 
int tcf_unregister_action (struct tc_action_ops *act)
 
 EXPORT_SYMBOL (tcf_unregister_action)
 
int tcf_action_exec (struct sk_buff *skb, const struct tc_action *act, struct tcf_result *res)
 
 EXPORT_SYMBOL (tcf_action_exec)
 
void tcf_action_destroy (struct tc_action *act, int bind)
 
int tcf_action_dump_old (struct sk_buff *skb, struct tc_action *a, int bind, int ref)
 
int tcf_action_dump_1 (struct sk_buff *skb, struct tc_action *a, int bind, int ref)
 
 EXPORT_SYMBOL (tcf_action_dump_1)
 
int tcf_action_dump (struct sk_buff *skb, struct tc_action *act, int bind, int ref)
 
struct tc_action * tcf_action_init_1 (struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind)
 
struct tc_action * tcf_action_init (struct nlattr *nla, struct nlattr *est, char *name, int ovr, int bind)
 
int tcf_action_copy_stats (struct sk_buff *skb, struct tc_action *a, int compat_mode)
 
 subsys_initcall (tc_action_init)
 

Function Documentation

EXPORT_SYMBOL ( tcf_hash_destroy  )
EXPORT_SYMBOL ( tcf_hash_release  )
EXPORT_SYMBOL ( tcf_generic_walker  )
EXPORT_SYMBOL ( tcf_hash_lookup  )
EXPORT_SYMBOL ( tcf_hash_new_index  )
EXPORT_SYMBOL ( tcf_hash_search  )
EXPORT_SYMBOL ( tcf_hash_check  )
EXPORT_SYMBOL ( tcf_hash_create  )
EXPORT_SYMBOL ( tcf_hash_insert  )
EXPORT_SYMBOL ( tcf_register_action  )
EXPORT_SYMBOL ( tcf_unregister_action  )
EXPORT_SYMBOL ( tcf_action_exec  )
EXPORT_SYMBOL ( tcf_action_dump_1  )
subsys_initcall ( tc_action_init  )
int tcf_action_copy_stats ( struct sk_buff skb,
struct tc_action *  a,
int  compat_mode 
)

Definition at line 601 of file act_api.c.

void tcf_action_destroy ( struct tc_action *  act,
int  bind 
)

Definition at line 403 of file act_api.c.

int tcf_action_dump ( struct sk_buff skb,
struct tc_action *  act,
int  bind,
int  ref 
)

Definition at line 462 of file act_api.c.

int tcf_action_dump_1 ( struct sk_buff skb,
struct tc_action *  a,
int  bind,
int  ref 
)

Definition at line 433 of file act_api.c.

int tcf_action_dump_old ( struct sk_buff skb,
struct tc_action *  a,
int  bind,
int  ref 
)

Definition at line 423 of file act_api.c.

int tcf_action_exec ( struct sk_buff skb,
const struct tc_action *  act,
struct tcf_result res 
)

Definition at line 371 of file act_api.c.

struct tc_action* tcf_action_init ( struct nlattr nla,
struct nlattr est,
char name,
int  ovr,
int  bind 
)
read

Definition at line 569 of file act_api.c.

struct tc_action* tcf_action_init_1 ( struct nlattr nla,
struct nlattr est,
char name,
int  ovr,
int  bind 
)
read

Definition at line 488 of file act_api.c.

int tcf_generic_walker ( struct sk_buff skb,
struct netlink_callback cb,
int  type,
struct tc_action *  a 
)

Definition at line 153 of file act_api.c.

struct tcf_common* tcf_hash_check ( u32  index,
struct tc_action *  a,
int  bind,
struct tcf_hashinfo hinfo 
)
read

Definition at line 211 of file act_api.c.

struct tcf_common* tcf_hash_create ( u32  index,
struct nlattr est,
struct tc_action *  a,
int  size,
int  bind,
u32 idx_gen,
struct tcf_hashinfo hinfo 
)
read

Definition at line 225 of file act_api.c.

void tcf_hash_destroy ( struct tcf_common p,
struct tcf_hashinfo hinfo 
)

Definition at line 30 of file act_api.c.

void tcf_hash_insert ( struct tcf_common p,
struct tcf_hashinfo hinfo 
)

Definition at line 255 of file act_api.c.

struct tcf_common* tcf_hash_lookup ( u32  index,
struct tcf_hashinfo hinfo 
)
read

Definition at line 169 of file act_api.c.

u32 tcf_hash_new_index ( u32 idx_gen,
struct tcf_hashinfo hinfo 
)

Definition at line 185 of file act_api.c.

int tcf_hash_release ( struct tcf_common p,
int  bind,
struct tcf_hashinfo hinfo 
)

Definition at line 54 of file act_api.c.

int tcf_hash_search ( struct tc_action *  a,
u32  index 
)

Definition at line 198 of file act_api.c.

int tcf_register_action ( struct tc_action_ops *  act)

Definition at line 269 of file act_api.c.

int tcf_unregister_action ( struct tc_action_ops *  act)

Definition at line 287 of file act_api.c.