xref: /openbmc/linux/include/net/psnap.h (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
21da177e4SLinus Torvalds #ifndef _NET_PSNAP_H
31da177e4SLinus Torvalds #define _NET_PSNAP_H
41da177e4SLinus Torvalds 
5c64b5c4bSJoe Perches struct datalink_proto *
67ca98fa2SStephen Hemminger register_snap_client(const unsigned char *desc,
77ca98fa2SStephen Hemminger 		     int (*rcvfunc)(struct sk_buff *, struct net_device *,
87ca98fa2SStephen Hemminger 				    struct packet_type *,
97ca98fa2SStephen Hemminger 				    struct net_device *orig_dev));
10c64b5c4bSJoe Perches void unregister_snap_client(struct datalink_proto *proto);
111da177e4SLinus Torvalds 
121da177e4SLinus Torvalds #endif
13