netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Collaboration diagram for VLAN:

Functions

char * rtnl_link_vlan_flags2str (int flags, char *buf, size_t len)
 
int rtnl_link_vlan_str2flags (const char *name)
 
int rtnl_link_vlan_set_id (struct rtnl_link *link, int id)
 
int rtnl_link_vlan_get_id (struct rtnl_link *link)
 
int rtnl_link_vlan_set_flags (struct rtnl_link *link, unsigned int flags)
 
int rtnl_link_vlan_unset_flags (struct rtnl_link *link, unsigned int flags)
 
unsigned int rtnl_link_vlan_get_flags (struct rtnl_link *link)
 
int rtnl_link_vlan_set_ingress_map (struct rtnl_link *link, int from, uint32_t to)
 
uint32_t * rtnl_link_vlan_get_ingress_map (struct rtnl_link *link)
 
int rtnl_link_vlan_set_egress_map (struct rtnl_link *link, uint32_t from, int to)
 
struct vlan_maprtnl_link_vlan_get_egress_map (struct rtnl_link *link, int *negress)
 

Detailed Description

Function Documentation

char* rtnl_link_vlan_flags2str ( int  flags,
char *  buf,
size_t  len 
)

References __flags2str(), and ARRAY_SIZE.

Here is the call graph for this function:

struct vlan_map* rtnl_link_vlan_get_egress_map ( struct rtnl_link link,
int *  negress 
)
unsigned int rtnl_link_vlan_get_flags ( struct rtnl_link link)
int rtnl_link_vlan_get_id ( struct rtnl_link link)
uint32_t* rtnl_link_vlan_get_ingress_map ( struct rtnl_link link)
int rtnl_link_vlan_set_egress_map ( struct rtnl_link link,
uint32_t  from,
int  to 
)
int rtnl_link_vlan_set_flags ( struct rtnl_link link,
unsigned int  flags 
)
int rtnl_link_vlan_set_id ( struct rtnl_link link,
int  id 
)
int rtnl_link_vlan_set_ingress_map ( struct rtnl_link link,
int  from,
uint32_t  to 
)
int rtnl_link_vlan_str2flags ( const char *  name)

References __str2flags(), and ARRAY_SIZE.

Here is the call graph for this function:

int rtnl_link_vlan_unset_flags ( struct rtnl_link link,
unsigned int  flags 
)