1 2 3 4 5 6 7 8 9 10
#ifndef _NET_P8022_H #define _NET_P8022_H extern struct datalink_proto * register_8022_client(unsigned char type, int (*func)(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt)); extern void unregister_8022_client(struct datalink_proto *proto); #endif