xref: /linux/include/net/psnap.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NET_PSNAP_H
3 #define _NET_PSNAP_H
4 
5 struct datalink_proto *
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));
10 void unregister_snap_client(struct datalink_proto *proto);
11 
12 #endif
13