blob: c2bacc66bfbc0911e2ca7aff71894570afa53066 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _NET_P8022_H
3#define _NET_P8022_H
Joe Perches8dda2042013-09-21 10:22:52 -07004struct datalink_proto *
5register_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));
10void unregister_8022_client(struct datalink_proto *proto);
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Joe Perches8dda2042013-09-21 10:22:52 -070012struct datalink_proto *make_8023_client(void);
13void destroy_8023_client(struct datalink_proto *dl);
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#endif