xref: /linux/include/net/p8022.h (revision f79e4d5f92a129a1159c973735007d4ddc8541f3)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NET_P8022_H
3 #define _NET_P8022_H
4 struct datalink_proto *
5 register_8022_client(unsigned char type,
6 		     int (*func)(struct sk_buff *skb,
7 				 struct net_device *dev,
8 				 struct packet_type *pt,
9 				 struct net_device *orig_dev));
10 void unregister_8022_client(struct datalink_proto *proto);
11 
12 struct datalink_proto *make_8023_client(void);
13 void destroy_8023_client(struct datalink_proto *dl);
14 #endif
15