Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _NET_PSNAP_H |
2 | #define _NET_PSNAP_H | ||||
3 | |||||
Stephen Hemminger | 7ca98fa | 2009-03-20 05:43:14 +0000 | [diff] [blame] | 4 | extern struct datalink_proto * |
5 | register_snap_client(const unsigned char *desc, | ||||
6 | int (*rcvfunc)(struct sk_buff *, struct net_device *, | ||||
7 | struct packet_type *, | ||||
8 | struct net_device *orig_dev)); | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | extern void unregister_snap_client(struct datalink_proto *proto); |
10 | |||||
11 | #endif |