netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cls_obj.c File Reference
Include dependency graph for cls_obj.c:

Functions

Allocation/Freeing
struct rtnl_clsrtnl_cls_alloc (void)
 
void rtnl_cls_put (struct rtnl_cls *cls)
 
Attributes
void rtnl_cls_set_ifindex (struct rtnl_cls *f, int ifindex)
 
int rtnl_cls_get_ifindex (struct rtnl_cls *cls)
 
void rtnl_cls_set_handle (struct rtnl_cls *f, uint32_t handle)
 
void rtnl_cls_set_parent (struct rtnl_cls *f, uint32_t parent)
 
uint32_t rtnl_cls_get_parent (struct rtnl_cls *cls)
 
int rtnl_cls_set_kind (struct rtnl_cls *cls, const char *kind)
 
struct rtnl_cls_opsrtnl_cls_get_ops (struct rtnl_cls *cls)
 
void rtnl_cls_set_prio (struct rtnl_cls *cls, uint16_t prio)
 
uint16_t rtnl_cls_get_prio (struct rtnl_cls *cls)
 
void rtnl_cls_set_protocol (struct rtnl_cls *cls, uint16_t protocol)
 
uint16_t rtnl_cls_get_protocol (struct rtnl_cls *cls)
 
void * rtnl_cls_data (struct rtnl_cls *cls)
 

Variables

struct nl_object_ops cls_obj_ops