Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / net / datalink.h
blob6c529a40e00db6ecd9a31dc258777d03156c9666
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NET_INET_DATALINK_H_
3 #define _NET_INET_DATALINK_H_
5 #include <linux/list.h>
7 struct llc_sap;
8 struct net_device;
9 struct packet_type;
10 struct sk_buff;
12 struct datalink_proto {
13 unsigned char type[8];
15 struct llc_sap *sap;
17 unsigned short header_length;
19 int (*rcvfunc)(struct sk_buff *, struct net_device *,
20 struct packet_type *, struct net_device *);
21 int (*request)(struct datalink_proto *, struct sk_buff *,
22 const unsigned char *);
23 struct list_head node;
26 #endif