Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Patrick McHardy | a19800d | 2008-07-05 21:25:39 -0700 | [diff] [blame] | 2 | #ifndef _NET_STP_H |
| 3 | #define _NET_STP_H |
| 4 | |
| 5 | struct stp_proto { |
| 6 | unsigned char group_address[ETH_ALEN]; |
| 7 | void (*rcv)(const struct stp_proto *, struct sk_buff *, |
| 8 | struct net_device *); |
| 9 | void *data; |
| 10 | }; |
| 11 | |
Joe Perches | f698229 | 2013-09-22 10:32:27 -0700 | [diff] [blame] | 12 | int stp_proto_register(const struct stp_proto *proto); |
| 13 | void stp_proto_unregister(const struct stp_proto *proto); |
Patrick McHardy | a19800d | 2008-07-05 21:25:39 -0700 | [diff] [blame] | 14 | |
| 15 | #endif /* _NET_STP_H */ |