1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 21da177e4SLinus Torvalds #ifndef _NET_PSNAP_H 31da177e4SLinus Torvalds #define _NET_PSNAP_H 41da177e4SLinus Torvalds 5*949d6b40SJakub Kicinski struct datalink_proto; 6*949d6b40SJakub Kicinski struct sk_buff; 7*949d6b40SJakub Kicinski struct packet_type; 8*949d6b40SJakub Kicinski struct net_device; 9*949d6b40SJakub Kicinski 10c64b5c4bSJoe Perches struct datalink_proto * 117ca98fa2SStephen Hemminger register_snap_client(const unsigned char *desc, 127ca98fa2SStephen Hemminger int (*rcvfunc)(struct sk_buff *, struct net_device *, 137ca98fa2SStephen Hemminger struct packet_type *, 147ca98fa2SStephen Hemminger struct net_device *orig_dev)); 15c64b5c4bSJoe Perches void unregister_snap_client(struct datalink_proto *proto); 161da177e4SLinus Torvalds 171da177e4SLinus Torvalds #endif 18