Merge branch 'bonding-overflow'
[linux-2.6-block.git] / include / net / datalink.h
... / ...
CommitLineData
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _NET_INET_DATALINK_H_
3#define _NET_INET_DATALINK_H_
4
5#include <linux/list.h>
6
7struct llc_sap;
8struct net_device;
9struct packet_type;
10struct sk_buff;
11
12struct datalink_proto {
13 unsigned char type[8];
14
15 struct llc_sap *sap;
16
17 unsigned short header_length;
18
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;
24};
25
26struct datalink_proto *make_EII_client(void);
27void destroy_EII_client(struct datalink_proto *dl);
28#endif