spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path
[sfrench/cifs-2.6.git] / include / net / p8022.h
1 #ifndef _NET_P8022_H
2 #define _NET_P8022_H
3 struct datalink_proto *
4 register_8022_client(unsigned char type,
5                      int (*func)(struct sk_buff *skb,
6                                  struct net_device *dev,
7                                  struct packet_type *pt,
8                                  struct net_device *orig_dev));
9 void unregister_8022_client(struct datalink_proto *proto);
10
11 struct datalink_proto *make_8023_client(void);
12 void destroy_8023_client(struct datalink_proto *dl);
13 #endif