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

VLAN
[Link Info API]


Functions

char * rtnl_link_vlan_flags2str (int flags, char *buf, size_t len)
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)
int rtnl_link_vlan_unset_flags (struct rtnl_link *link, unsigned int flags)
static int vlan_alloc (struct rtnl_link *link)
static int vlan_clone (struct rtnl_link *dst, struct rtnl_link *src)
static void vlan_dump_details (struct rtnl_link *link, struct nl_dump_params *p)
static void vlan_dump_line (struct rtnl_link *link, struct nl_dump_params *p)
static void __exit vlan_exit (void)
static void vlan_free (struct rtnl_link *link)
static void __init vlan_init (void)
static int vlan_parse (struct rtnl_link *link, struct nlattr *data, struct nlattr *xstats)
static int vlan_put_attrs (struct nl_msg *msg, struct rtnl_link *link)

Variables

static struct trans_tbl vlan_flags []
static struct rtnl_link_info_ops vlan_info_ops
static struct nla_policy vlan_policy [IFLA_VLAN_MAX+1]


Generated by  Doxygen 1.6.0   Back to index