Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _NET_PSNAP_H |
| 2 | #define _NET_PSNAP_H |
| 3 | |
Joe Perches | c64b5c4 | 2013-09-22 10:32:18 -0700 | [diff] [blame] | 4 | struct datalink_proto * |
Stephen Hemminger | 7ca98fa | 2009-03-20 05:43:14 +0000 | [diff] [blame] | 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)); |
Joe Perches | c64b5c4 | 2013-09-22 10:32:18 -0700 | [diff] [blame] | 9 | void unregister_snap_client(struct datalink_proto *proto); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
| 11 | #endif |