1 #ifndef _NET_INET_DATALINK_H_ 2 #define _NET_INET_DATALINK_H_ 3 4 struct datalink_proto { 5 unsigned short type_len; 6 unsigned char type[8]; 7 const char *string_name; 8 unsigned short header_length; 9 int (*rcvfunc)(struct sk_buff *, struct device *, 10 struct packet_type *); 11 void (*datalink_header)(struct datalink_proto *, struct sk_buff *, 12 unsigned char *); 13 struct datalink_proto *next; 14 }; 15 16 #endif 17