#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/attr.h>
#include <netlink/utils.h>
#include <netlink/object.h>
#include <netlink/route/rtnl.h>
#include <netlink/route/link/info-api.h>
#include <netlink/route/link/vlan.h>
#include <linux/if_vlan.h>
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_map * | rtnl_link_vlan_get_egress_map (struct rtnl_link *link, int *negress) |