Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _NET_PSNAP_H
0003 #define _NET_PSNAP_H
0004 
0005 struct datalink_proto;
0006 struct sk_buff;
0007 struct packet_type;
0008 struct net_device;
0009 
0010 struct datalink_proto *
0011 register_snap_client(const unsigned char *desc,
0012              int (*rcvfunc)(struct sk_buff *, struct net_device *,
0013                     struct packet_type *,
0014                     struct net_device *orig_dev));
0015 void unregister_snap_client(struct datalink_proto *proto);
0016 
0017 #endif