Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _NET_STP_H
 3#define _NET_STP_H
 4
 5#include <linux/if_ether.h>
 6
 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
14int stp_proto_register(const struct stp_proto *proto);
15void stp_proto_unregister(const struct stp_proto *proto);
16
17#endif /* _NET_STP_H */
v3.1
 
 1#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
11extern int stp_proto_register(const struct stp_proto *proto);
12extern void stp_proto_unregister(const struct stp_proto *proto);
13
14#endif /* _NET_STP_H */