Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _NET_PSNAP_H |
| 3 | #define _NET_PSNAP_H |
| 4 | |
Joe Perches | c64b5c4 | 2013-09-22 10:32:18 -0700 | [diff] [blame] | 5 | struct datalink_proto * |
Stephen Hemminger | 7ca98fa | 2009-03-20 05:43:14 +0000 | [diff] [blame] | 6 | register_snap_client(const unsigned char *desc, |
| 7 | int (*rcvfunc)(struct sk_buff *, struct net_device *, |
| 8 | struct packet_type *, |
| 9 | struct net_device *orig_dev)); |
Joe Perches | c64b5c4 | 2013-09-22 10:32:18 -0700 | [diff] [blame] | 10 | void unregister_snap_client(struct datalink_proto *proto); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | #endif |