blob: fd22789d7b2ed3e8003829d6da9be5e57d21a74c [file] [log] [blame]
* Linux ethernet bridge
* Authors:
* Lennert Buytenhek <>
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
#include <linux/netdevice.h>
#include <uapi/linux/if_bridge.h>
struct br_ip {
union {
__be32 ip4;
struct in6_addr ip6;
} u;
__be16 proto;
__u16 vid;
struct br_ip_list {
struct list_head list;
struct br_ip addr;
extern void brioctl_set(int (*ioctl_hook)(struct net *, unsigned int, void __user *));
typedef int br_should_route_hook_t(struct sk_buff *skb);
extern br_should_route_hook_t __rcu *br_should_route_hook;
int br_multicast_list_adjacent(struct net_device *dev,
struct list_head *br_ip_list);
bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);