blob: 3af174d70d9e8ca988122b75358703b99c0b4d4a [file] [log] [blame]
Patrick McHardya19800d2008-07-05 21:25:39 -07001#ifndef _NET_STP_H
2#define _NET_STP_H
3
4struct 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
Joe Perchesf6982292013-09-22 10:32:27 -070011int stp_proto_register(const struct stp_proto *proto);
12void stp_proto_unregister(const struct stp_proto *proto);
Patrick McHardya19800d2008-07-05 21:25:39 -070013
14#endif /* _NET_STP_H */