]> git.ipfire.org Git - thirdparty/kernel/stable.git/blob - include/net/stp.h
Merge branch 'malidp-fixes' of git://linux-arm.org/linux-ld into drm-fixes
[thirdparty/kernel/stable.git] / include / net / stp.h
1 /* SPDX-License-Identifier: GPL-2.0 */
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
12 int stp_proto_register(const struct stp_proto *proto);
13 void stp_proto_unregister(const struct stp_proto *proto);
14
15 #endif /* _NET_STP_H */