18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _NET_STP_H
38c2ecf20Sopenharmony_ci#define _NET_STP_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_cistruct stp_proto {
68c2ecf20Sopenharmony_ci	unsigned char	group_address[ETH_ALEN];
78c2ecf20Sopenharmony_ci	void		(*rcv)(const struct stp_proto *, struct sk_buff *,
88c2ecf20Sopenharmony_ci			       struct net_device *);
98c2ecf20Sopenharmony_ci	void		*data;
108c2ecf20Sopenharmony_ci};
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciint stp_proto_register(const struct stp_proto *proto);
138c2ecf20Sopenharmony_civoid stp_proto_unregister(const struct stp_proto *proto);
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#endif /* _NET_STP_H */
16