xref: /kernel/linux/linux-6.6/include/net/stp.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/net/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _NET_STP_H
362306a36Sopenharmony_ci#define _NET_STP_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <linux/if_ether.h>
662306a36Sopenharmony_ci
762306a36Sopenharmony_cistruct stp_proto {
862306a36Sopenharmony_ci	unsigned char	group_address[ETH_ALEN];
962306a36Sopenharmony_ci	void		(*rcv)(const struct stp_proto *, struct sk_buff *,
1062306a36Sopenharmony_ci			       struct net_device *);
1162306a36Sopenharmony_ci	void		*data;
1262306a36Sopenharmony_ci};
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciint stp_proto_register(const struct stp_proto *proto);
1562306a36Sopenharmony_civoid stp_proto_unregister(const struct stp_proto *proto);
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#endif /* _NET_STP_H */
18

Indexes created Thu Nov 07 10:32:03 CST 2024