summaryrefslogtreecommitdiffstats
path: root/include/net/datalink.h
blob: 44e56990c866d53e73e0362a5848ac0c2c589fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _NET_INET_DATALINK_H_
#define _NET_INET_DATALINK_H_

struct datalink_proto {
	unsigned short	type_len;
	unsigned char	type[8];
	const char	*string_name;
	unsigned short	header_length;
	int	(*rcvfunc)(struct sk_buff *, struct device *, 
				struct packet_type *);
	void	(*datalink_header)(struct datalink_proto *, struct sk_buff *,
					unsigned char *);
	struct datalink_proto	*next;
};

#endif