Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Linux ethernet bridge |
| 3 | * |
| 4 | * Authors: |
| 5 | * Lennert Buytenhek <buytenh@gnu.org> |
| 6 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | * 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #ifndef _LINUX_IF_BRIDGE_H |
| 13 | #define _LINUX_IF_BRIDGE_H |
| 14 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | #include <linux/netdevice.h> |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 17 | #include <uapi/linux/if_bridge.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
Eric W. Biederman | 881d966 | 2007-09-17 11:56:21 -0700 | [diff] [blame] | 19 | extern void brioctl_set(int (*ioctl_hook)(struct net *, unsigned int, void __user *)); |
Eric Dumazet | a386f99 | 2010-11-15 06:38:11 +0000 | [diff] [blame] | 20 | |
Florian Westphal | 2f46e07 | 2011-01-11 23:55:51 +0100 | [diff] [blame] | 21 | typedef int br_should_route_hook_t(struct sk_buff *skb); |
Eric Dumazet | a386f99 | 2010-11-15 06:38:11 +0000 | [diff] [blame] | 22 | extern br_should_route_hook_t __rcu *br_should_route_hook; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | |
| 24 | #endif |