1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NET_INET_DATALINK_H_
3 #define _NET_INET_DATALINK_H_
5 #include <linux/list.h>
12 struct datalink_proto
{
13 unsigned char type
[8];
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
;