netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
netlink-tc.h File Reference
#include <netlink-local.h>
Include dependency graph for netlink-tc.h:
This graph shows which files directly or indirectly include this file:

Macros

#define TCA_ATTR_HANDLE   0x001
 
#define TCA_ATTR_PARENT   0x002
 
#define TCA_ATTR_IFINDEX   0x004
 
#define TCA_ATTR_KIND   0x008
 
#define TCA_ATTR_FAMILY   0x010
 
#define TCA_ATTR_INFO   0x020
 
#define TCA_ATTR_OPTS   0x040
 
#define TCA_ATTR_STATS   0x080
 
#define TCA_ATTR_XSTATS   0x100
 
#define TCA_ATTR_MAX   TCA_ATTR_XSTATS
 

Functions

int tca_parse (struct nlattr **, int, struct rtnl_tca *, struct nla_policy *)
 
int tca_msg_parser (struct nlmsghdr *, struct rtnl_tca *)
 
void tca_free_data (struct rtnl_tca *)
 
int tca_clone (struct rtnl_tca *, struct rtnl_tca *)
 
void tca_dump_line (struct rtnl_tca *, const char *, struct nl_dump_params *)
 
void tca_dump_details (struct rtnl_tca *, struct nl_dump_params *)
 
void tca_dump_stats (struct rtnl_tca *, struct nl_dump_params *)
 
int tca_compare (struct nl_object *, struct nl_object *, uint32_t, int)
 
void tca_set_ifindex (struct rtnl_tca *, int)
 
int tca_get_ifindex (struct rtnl_tca *)
 
void tca_set_handle (struct rtnl_tca *, uint32_t)
 
uint32_t tca_get_handle (struct rtnl_tca *)
 
void tca_set_parent (struct rtnl_tca *, uint32_t)
 
uint32_t tca_get_parent (struct rtnl_tca *)
 
void tca_set_kind (struct rtnl_tca *, const char *)
 
char * tca_get_kind (struct rtnl_tca *)
 
uint64_t tca_get_stat (struct rtnl_tca *, int)
 
int tca_build_msg (struct rtnl_tca *, int, int, struct nl_msg **)
 

Macro Definition Documentation

#define TCA_ATTR_FAMILY   0x010
#define TCA_ATTR_HANDLE   0x001
#define TCA_ATTR_IFINDEX   0x004
#define TCA_ATTR_INFO   0x020
#define TCA_ATTR_KIND   0x008

Referenced by rtnl_cls_set_kind().

#define TCA_ATTR_MAX   TCA_ATTR_XSTATS
#define TCA_ATTR_OPTS   0x040
#define TCA_ATTR_PARENT   0x002
#define TCA_ATTR_STATS   0x080
#define TCA_ATTR_XSTATS   0x100

Function Documentation

int tca_build_msg ( struct rtnl_tca ,
int  ,
int  ,
struct nl_msg **   
)
int tca_clone ( struct rtnl_tca ,
struct rtnl_tca  
)
int tca_compare ( struct nl_object ,
struct nl_object ,
uint32_t  ,
int   
)
void tca_dump_details ( struct rtnl_tca ,
struct nl_dump_params  
)
void tca_dump_line ( struct rtnl_tca ,
const char *  ,
struct nl_dump_params  
)
void tca_dump_stats ( struct rtnl_tca ,
struct nl_dump_params  
)
void tca_free_data ( struct rtnl_tca )
uint32_t tca_get_handle ( struct rtnl_tca )

Referenced by rtnl_class_get_handle(), and rtnl_qdisc_get_handle().

Here is the caller graph for this function:

int tca_get_ifindex ( struct rtnl_tca )

Referenced by rtnl_class_get_ifindex(), and rtnl_qdisc_get_ifindex().

Here is the caller graph for this function:

char* tca_get_kind ( struct rtnl_tca )

Referenced by rtnl_class_get_kind(), and rtnl_qdisc_get_kind().

Here is the caller graph for this function:

uint32_t tca_get_parent ( struct rtnl_tca )

Referenced by rtnl_class_get_parent(), and rtnl_qdisc_get_parent().

Here is the caller graph for this function:

uint64_t tca_get_stat ( struct rtnl_tca ,
int   
)

Referenced by rtnl_class_get_stat(), and rtnl_qdisc_get_stat().

Here is the caller graph for this function:

int tca_msg_parser ( struct nlmsghdr ,
struct rtnl_tca  
)
int tca_parse ( struct nlattr **  ,
int  ,
struct rtnl_tca ,
struct nla_policy  
)
void tca_set_handle ( struct rtnl_tca ,
uint32_t   
)

Referenced by rtnl_class_set_handle(), rtnl_cls_set_handle(), rtnl_qdisc_set_handle(), and rtnl_u32_set_handle().

Here is the caller graph for this function:

void tca_set_ifindex ( struct rtnl_tca ,
int   
)

Referenced by rtnl_class_set_ifindex(), rtnl_cls_set_ifindex(), and rtnl_qdisc_set_ifindex().

Here is the caller graph for this function:

void tca_set_kind ( struct rtnl_tca ,
const char *   
)

Referenced by rtnl_class_set_kind(), rtnl_cls_set_kind(), and rtnl_qdisc_set_kind().

Here is the caller graph for this function:

void tca_set_parent ( struct rtnl_tca ,
uint32_t   
)

Referenced by rtnl_class_set_parent(), rtnl_cls_set_parent(), and rtnl_qdisc_set_parent().

Here is the caller graph for this function: