blob: 7cb0c8ab4171274ff0a44e388df63891f03ba149 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _NET_PSNAP_H
3#define _NET_PSNAP_H
4
Joe Perchesc64b5c42013-09-22 10:32:18 -07005struct datalink_proto *
Stephen Hemminger7ca98fa2009-03-20 05:43:14 +00006register_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 Perchesc64b5c42013-09-22 10:32:18 -070010void unregister_snap_client(struct datalink_proto *proto);
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
12#endif