9#include <netlink/netlink.h>
10#include <netlink/cache.h>
11#include <netlink/route/action.h>
int rtnl_vlan_get_vlan_prio(struct rtnl_act *act, uint8_t *out_prio)
Get vlan prio.
int rtnl_vlan_set_mode(struct rtnl_act *act, int mode)
Set vlan mode.
int rtnl_vlan_set_protocol(struct rtnl_act *act, uint16_t protocol)
Set protocol.
int rtnl_vlan_set_vlan_prio(struct rtnl_act *act, uint8_t prio)
Set vlan prio.
int rtnl_vlan_set_action(struct rtnl_act *act, int action)
Set general action.
int rtnl_vlan_set_vlan_id(struct rtnl_act *act, uint16_t vid)
Set vlan id.
int rtnl_vlan_get_protocol(struct rtnl_act *act, uint16_t *out_protocol)
Get protocol.
int rtnl_vlan_get_vlan_id(struct rtnl_act *act, uint16_t *out_vid)
Get vlan id.
int rtnl_vlan_get_mode(struct rtnl_act *act, int *out_mode)
Get vlan mode.
int rtnl_vlan_get_action(struct rtnl_act *act, int *out_action)
Get general action.