Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _NET_P8022_H
0003 #define _NET_P8022_H
0004 
0005 struct net_device;
0006 struct packet_type;
0007 struct sk_buff;
0008 
0009 struct datalink_proto *
0010 register_8022_client(unsigned char type,
0011              int (*func)(struct sk_buff *skb,
0012                  struct net_device *dev,
0013                  struct packet_type *pt,
0014                  struct net_device *orig_dev));
0015 void unregister_8022_client(struct datalink_proto *proto);
0016 
0017 struct datalink_proto *make_8023_client(void);
0018 void destroy_8023_client(struct datalink_proto *dl);
0019 #endif