@@ -78,6 +78,19 @@ struct rtnl_link_ops {
int (*get_tx_queues)(struct net *net, struct nlattr *tb[],
unsigned int *tx_queues,
unsigned int *real_tx_queues);
+
+ int (*set_rx_addr_filter)(struct net_device *dev,
+ struct nlattr *tb[]);
+ int (*set_rx_vlan_filter)(struct net_device *dev,
+ struct nlattr *tb[]);
+ size_t (*get_rx_addr_filter_size)(
+ const struct net_device *dev);
+ size_t (*get_rx_vlan_filter_size)(
+ const struct net_device *dev);
+ int (*fill_rx_addr_filter)(struct sk_buff *skb,
+ const struct net_device *dev);
+ int (*fill_rx_vlan_filter)(struct sk_buff *skb,
+ const struct net_device *dev);
};
extern int __rtnl_link_register(struct rtnl_link_ops *ops);