blob: 2914e6d534904ae4ca53c1425f33edb3a9d86bb0 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Patrick McHardya19800d2008-07-05 21:25:39 -07002#ifndef _NET_STP_H
3#define _NET_STP_H
4
5struct 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 Perchesf6982292013-09-22 10:32:27 -070012int stp_proto_register(const struct stp_proto *proto);
13void stp_proto_unregister(const struct stp_proto *proto);
Patrick McHardya19800d2008-07-05 21:25:39 -070014
15#endif /* _NET_STP_H */