Blame view

include/net/datalink.h 619 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
5
6
7
8
9
10
11
12
  #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 *,
f2ccd8fa0   David S. Miller   [NET]: Kill skb->...
13
                                  struct packet_type *, struct net_device *);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
14
15
16
17
  	int     (*request)(struct datalink_proto *, struct sk_buff *,
                                          unsigned char *);
  	struct list_head node;
  };
7780d8ae4   Rashika Kheria   net: Move prototy...
18
19
  struct datalink_proto *make_EII_client(void);
  void destroy_EII_client(struct datalink_proto *dl);
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
20
  #endif