summaryrefslogtreecommitdiff
path: root/pfinet/linux-inet/datalink.h
blob: 34ae08daa183d351c07e3efa345e4ac3b1cb1f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _NET_INET_DATALINK_H_
#define _NET_INET_DATALINK_H_

struct datalink_proto {
	unsigned short	type_len;
	unsigned char	type[8];
	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