Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _NET_STP_H
0003 #define _NET_STP_H
0004 
0005 #include <linux/if_ether.h>
0006 
0007 struct stp_proto {
0008     unsigned char   group_address[ETH_ALEN];
0009     void        (*rcv)(const struct stp_proto *, struct sk_buff *,
0010                    struct net_device *);
0011     void        *data;
0012 };
0013 
0014 int stp_proto_register(const struct stp_proto *proto);
0015 void stp_proto_unregister(const struct stp_proto *proto);
0016 
0017 #endif /* _NET_STP_H */