#include <linux/if_bridge.h>
#include <net/dsa.h>
#include "realtek.h"
int rtl8366_mc_is_used(struct realtek_priv *priv, int mc_index, int *used)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
static int rtl8366_obtain_mc(struct realtek_priv *priv, int vid,
struct rtl8366_vlan_mc *vlanmc)
{ … }
int rtl8366_set_vlan(struct realtek_priv *priv, int vid, u32 member,
u32 untag, u32 fid)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int rtl8366_set_pvid(struct realtek_priv *priv, unsigned int port,
unsigned int vid)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int rtl8366_enable_vlan4k(struct realtek_priv *priv, bool enable)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int rtl8366_enable_vlan(struct realtek_priv *priv, bool enable)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int rtl8366_reset_vlan(struct realtek_priv *priv)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int rtl8366_vlan_add(struct dsa_switch *ds, int port,
const struct switchdev_obj_port_vlan *vlan,
struct netlink_ext_ack *extack)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int rtl8366_vlan_del(struct dsa_switch *ds, int port,
const struct switchdev_obj_port_vlan *vlan)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset,
uint8_t *data)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset)
{ … }
EXPORT_SYMBOL_NS_GPL(…);
void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data)
{ … }
EXPORT_SYMBOL_NS_GPL(…);