^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef _NET_INET_DATALINK_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define _NET_INET_DATALINK_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) struct datalink_proto {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) unsigned char type[8];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) struct llc_sap *sap;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) unsigned short header_length;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) int (*rcvfunc)(struct sk_buff *, struct net_device *,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct packet_type *, struct net_device *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) int (*request)(struct datalink_proto *, struct sk_buff *,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) unsigned char *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct list_head node;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) struct datalink_proto *make_EII_client(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) void destroy_EII_client(struct datalink_proto *dl);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif