datalink.h 580 B

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