Logo Search packages:      
Sourcecode: libnl version File versions  Download package

Classifiers
[Traffic Control]


Detailed Description

Classifier Identification
  • protocol
  • priority
  • parent
  • interface
  • kind
  • handle


Modules

 Universal 32-bit Classifier

Classes

struct  rtnl_cls_ops

Classifier Addition/Modification/Deletion

int rtnl_cls_add (struct nl_handle *handle, struct rtnl_cls *cls, int flags)
struct nl_msg * rtnl_cls_build_add_request (struct rtnl_cls *cls, int flags)
struct nl_msg * rtnl_cls_build_change_request (struct rtnl_cls *cls, int flags)
struct nl_msg * rtnl_cls_build_delete_request (struct rtnl_cls *cls, int flags)
int rtnl_cls_change (struct nl_handle *handle, struct rtnl_cls *cls, int flags)
int rtnl_cls_delete (struct nl_handle *handle, struct rtnl_cls *cls, int flags)

General API

struct rtnl_cls * rtnl_cls_alloc (void)
struct nl_cache * rtnl_cls_alloc_cache (struct nl_handle *handle, int ifindex, uint32_t parent)
void rtnl_cls_free (struct rtnl_cls *cls)
int rtnl_cls_get_prio (struct rtnl_cls *cls)
int rtnl_cls_get_protocol (struct rtnl_cls *cls)
void rtnl_cls_put (struct rtnl_cls *cls)
void rtnl_cls_set_handle (struct rtnl_cls *f, uint32_t handle)
void rtnl_cls_set_ifindex (struct rtnl_cls *f, int ifindex)
void rtnl_cls_set_kind (struct rtnl_cls *f, const char *kind)
void rtnl_cls_set_parent (struct rtnl_cls *f, uint32_t parent)
void rtnl_cls_set_prio (struct rtnl_cls *cls, int prio)
void rtnl_cls_set_protocol (struct rtnl_cls *cls, int protocol)

Classifier Module API

int rtnl_cls_register (struct rtnl_cls_ops *ops)
int rtnl_cls_unregister (struct rtnl_cls_ops *ops)

Functions

static struct nl_msg * cls_build (struct rtnl_cls *cls, int type, int flags)
static int cls_dump_brief (struct nl_object *obj, struct nl_dump_params *p)
static int cls_dump_full (struct nl_object *obj, struct nl_dump_params *p)
static int cls_dump_stats (struct nl_object *obj, struct nl_dump_params *p)
static void __exit cls_exit (void)
static int cls_filter (struct nl_object *obj, struct nl_object *filter)
static void cls_free_data (struct nl_object *obj)
static void __init cls_init (void)
static struct rtnl_cls_opscls_lookup_ops (char *kind)
static int cls_msg_parser (struct sockaddr_nl *who, struct nlmsghdr *nlh, void *arg)
static struct rtnl_cls_opscls_ops (struct rtnl_cls *cls)
static int cls_request_update (struct nl_cache *cache, struct nl_handle *handle)

Variables

static struct rtnl_cls_opscls_ops_list
static struct nl_cache_ops rtnl_cls_ops


Generated by  Doxygen 1.6.0   Back to index