Merge branch 'gtp-tunnel-driver-fixes'
[linux-block.git] / include / net / stp.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
a19800d7
PM
2#ifndef _NET_STP_H
3#define _NET_STP_H
4
949d6b40
JK
5#include <linux/if_ether.h>
6
a19800d7
PM
7struct 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;
12};
13
f6982299
JP
14int stp_proto_register(const struct stp_proto *proto);
15void stp_proto_unregister(const struct stp_proto *proto);
a19800d7
PM
16
17#endif /* _NET_STP_H */