https://github.com/torvalds/linux
Raw File
Tip revision: 949db153b6466c6f7cad5a427ecea94985927311 authored by Linus Torvalds on 25 January 2013, 19:57:28 UTC
Linux 3.8-rc5
Tip revision: 949db15
datalink.h
#ifndef _NET_INET_DATALINK_H_
#define _NET_INET_DATALINK_H_

struct datalink_proto {
        unsigned char   type[8];

	struct llc_sap   *sap;

        unsigned short  header_length;

        int     (*rcvfunc)(struct sk_buff *, struct net_device *,
                                struct packet_type *, struct net_device *);
	int     (*request)(struct datalink_proto *, struct sk_buff *,
                                        unsigned char *);
	struct list_head node;
};

#endif
back to top