xref: /openbmc/linux/include/net/stp.h (revision 9d56dd3b083a3bec56e9da35ce07baca81030b03)
1 #ifndef _NET_STP_H
2 #define _NET_STP_H
3 
4 struct stp_proto {
5 	unsigned char	group_address[ETH_ALEN];
6 	void		(*rcv)(const struct stp_proto *, struct sk_buff *,
7 			       struct net_device *);
8 	void		*data;
9 };
10 
11 extern int stp_proto_register(const struct stp_proto *proto);
12 extern void stp_proto_unregister(const struct stp_proto *proto);
13 
14 #endif /* _NET_STP_H */
15