Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / net / stp.h
blob528103fce2c08f15f9b9e94ec08ea6a44906c944
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NET_STP_H
3 #define _NET_STP_H
5 #include <linux/if_ether.h>
7 struct stp_proto {
8 unsigned char group_address[ETH_ALEN];
9 void (*rcv)(const struct stp_proto *, struct sk_buff *,
10 struct net_device *);
11 void *data;
14 int stp_proto_register(const struct stp_proto *proto);
15 void stp_proto_unregister(const struct stp_proto *proto);
17 #endif /* _NET_STP_H */