Merge tag 'mm-hotfixes-stable-2023-05-03-16-27' of git://git.kernel.org/pub/scm/linux...
[linux-block.git] / include / net / p8022.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _NET_P8022_H
3#define _NET_P8022_H
949d6b40
JK
4
5struct net_device;
6struct packet_type;
7struct sk_buff;
8
8dda2041
JP
9struct datalink_proto *
10register_8022_client(unsigned char type,
11 int (*func)(struct sk_buff *skb,
12 struct net_device *dev,
13 struct packet_type *pt,
14 struct net_device *orig_dev));
15void unregister_8022_client(struct datalink_proto *proto);
1da177e4 16
8dda2041
JP
17struct datalink_proto *make_8023_client(void);
18void destroy_8023_client(struct datalink_proto *dl);
1da177e4 19#endif