blob: 1085ffeef956589d77dea0a426feedf6450fd20f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Linux ethernet bridge
3 *
4 * Authors:
5 * Lennert Buytenhek <buytenh@gnu.org>
6 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
11 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#ifndef _LINUX_IF_BRIDGE_H
13#define _LINUX_IF_BRIDGE_H
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
16#include <linux/netdevice.h>
David Howells607ca462012-10-13 10:46:48 +010017#include <uapi/linux/if_bridge.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Eric W. Biederman881d9662007-09-17 11:56:21 -070019extern void brioctl_set(int (*ioctl_hook)(struct net *, unsigned int, void __user *));
Eric Dumazeta386f992010-11-15 06:38:11 +000020
Florian Westphal2f46e072011-01-11 23:55:51 +010021typedef int br_should_route_hook_t(struct sk_buff *skb);
Eric Dumazeta386f992010-11-15 06:38:11 +000022extern br_should_route_hook_t __rcu *br_should_route_hook;
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
24#endif