Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pkt_cls.h File Reference
#include <linux/pkt_cls.h>
#include <net/sch_generic.h>
#include <net/act_api.h>

Go to the source code of this file.

Data Structures

struct  tcf_walker
 
struct  tcf_exts
 
struct  tcf_ext_map
 
struct  tcf_pkt_info
 
struct  tcf_ematch_tree
 

Macros

#define tcf_em_tree_validate(tp, tb, t)   ((void)(t), 0)
 
#define tcf_em_tree_destroy(tp, t)   do { (void)(t); } while(0)
 
#define tcf_em_tree_dump(skb, t, tlv)   (0)
 
#define tcf_em_tree_change(tp, dst, src)   do { } while(0)
 
#define tcf_em_tree_match(skb, t, info)   ((void)(info), 1)
 

Functions

int register_tcf_proto_ops (struct tcf_proto_ops *ops)
 
int unregister_tcf_proto_ops (struct tcf_proto_ops *ops)
 
int tcf_exts_validate (struct tcf_proto *tp, struct nlattr **tb, struct nlattr *rate_tlv, struct tcf_exts *exts, const struct tcf_ext_map *map)
 
void tcf_exts_destroy (struct tcf_proto *tp, struct tcf_exts *exts)
 
void tcf_exts_change (struct tcf_proto *tp, struct tcf_exts *dst, struct tcf_exts *src)
 
int tcf_exts_dump (struct sk_buff *skb, struct tcf_exts *exts, const struct tcf_ext_map *map)
 
int tcf_exts_dump_stats (struct sk_buff *skb, struct tcf_exts *exts, const struct tcf_ext_map *map)
 

Macro Definition Documentation

#define tcf_em_tree_change (   tp,
  dst,
  src 
)    do { } while(0)

Definition at line 304 of file pkt_cls.h.

#define tcf_em_tree_destroy (   tp,
  t 
)    do { (void)(t); } while(0)

Definition at line 302 of file pkt_cls.h.

#define tcf_em_tree_dump (   skb,
  t,
  tlv 
)    (0)

Definition at line 303 of file pkt_cls.h.

#define tcf_em_tree_match (   skb,
  t,
  info 
)    ((void)(info), 1)

Definition at line 305 of file pkt_cls.h.

#define tcf_em_tree_validate (   tp,
  tb,
  t 
)    ((void)(t), 0)

Definition at line 301 of file pkt_cls.h.

Function Documentation

int register_tcf_proto_ops ( struct tcf_proto_ops ops)

Definition at line 63 of file cls_api.c.

void tcf_exts_change ( struct tcf_proto tp,
struct tcf_exts dst,
struct tcf_exts src 
)

Definition at line 547 of file cls_api.c.

void tcf_exts_destroy ( struct tcf_proto tp,
struct tcf_exts exts 
)

Definition at line 498 of file cls_api.c.

int tcf_exts_dump ( struct sk_buff skb,
struct tcf_exts exts,
const struct tcf_ext_map map 
)

Definition at line 564 of file cls_api.c.

int tcf_exts_dump_stats ( struct sk_buff skb,
struct tcf_exts exts,
const struct tcf_ext_map map 
)

Definition at line 600 of file cls_api.c.

int tcf_exts_validate ( struct tcf_proto tp,
struct nlattr **  tb,
struct nlattr rate_tlv,
struct tcf_exts exts,
const struct tcf_ext_map map 
)

Definition at line 509 of file cls_api.c.

int unregister_tcf_proto_ops ( struct tcf_proto_ops ops)

Definition at line 82 of file cls_api.c.