^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _NET_STP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _NET_STP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) struct stp_proto {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) unsigned char group_address[ETH_ALEN];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) void (*rcv)(const struct stp_proto *, struct sk_buff *,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) struct net_device *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) void *data;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) int stp_proto_register(const struct stp_proto *proto);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) void stp_proto_unregister(const struct stp_proto *proto);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #endif /* _NET_STP_H */