datalink.h 482 B

12345678910111213141516171819
  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. #endif