datalink.h 619 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _NET_INET_DATALINK_H_
  3. #define _NET_INET_DATALINK_H_
  4. struct datalink_proto {
  5. unsigned char type[8];
  6. struct llc_sap *sap;
  7. unsigned short header_length;
  8. int (*rcvfunc)(struct sk_buff *, struct net_device *,
  9. struct packet_type *, struct net_device *);
  10. int (*request)(struct datalink_proto *, struct sk_buff *,
  11. unsigned char *);
  12. struct list_head node;
  13. };
  14. struct datalink_proto *make_EII_client(void);
  15. void destroy_EII_client(struct datalink_proto *dl);
  16. #endif