Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _NET_PSNAP_H
3#define _NET_PSNAP_H
4
5struct datalink_proto;
6struct sk_buff;
7struct packet_type;
8struct net_device;
9
10struct datalink_proto *
11register_snap_client(const unsigned char *desc,
12 int (*rcvfunc)(struct sk_buff *, struct net_device *,
13 struct packet_type *,
14 struct net_device *orig_dev));
15void unregister_snap_client(struct datalink_proto *proto);
16
17#endif
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _NET_PSNAP_H
3#define _NET_PSNAP_H
4
5struct datalink_proto *
6register_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));
10void unregister_snap_client(struct datalink_proto *proto);
11
12#endif