blob: a9663229b91394aa66c6f4dd9a8358fd8ff45ce5 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _NET_INET_DATALINK_H_
3#define _NET_INET_DATALINK_H_
4
5struct datalink_proto {
6 unsigned char type[8];
7
8 struct llc_sap *sap;
9
10 unsigned short header_length;
11
12 int (*rcvfunc)(struct sk_buff *, struct net_device *,
David S. Millerf2ccd8f2005-08-09 19:34:12 -070013 struct packet_type *, struct net_device *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070014 int (*request)(struct datalink_proto *, struct sk_buff *,
15 unsigned char *);
16 struct list_head node;
17};
18
Rashika Kheria7780d8a2014-02-09 22:27:41 +053019struct datalink_proto *make_EII_client(void);
20void destroy_EII_client(struct datalink_proto *dl);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#endif