]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/net/datalink.h
ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled
[mirror_ubuntu-bionic-kernel.git] / include / net / datalink.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _NET_INET_DATALINK_H_
3#define _NET_INET_DATALINK_H_
4
5struct datalink_proto {
6 unsigned char type[8];
7
8 struct llc_sap *sap;
9
10 unsigned short header_length;
11
12 int (*rcvfunc)(struct sk_buff *, struct net_device *,
f2ccd8fa 13 struct packet_type *, struct net_device *);
1da177e4
LT
14 int (*request)(struct datalink_proto *, struct sk_buff *,
15 unsigned char *);
16 struct list_head node;
17};
18
7780d8ae
RK
19struct datalink_proto *make_EII_client(void);
20void destroy_EII_client(struct datalink_proto *dl);
1da177e4 21#endif