mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
949d6b405e
This patch adds missing includes to headers under include/net. All these problems are currently masked by the existing users including the missing dependency before the broken header. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
20 lines
504 B
C
20 lines
504 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _NET_P8022_H
|
|
#define _NET_P8022_H
|
|
|
|
struct net_device;
|
|
struct packet_type;
|
|
struct sk_buff;
|
|
|
|
struct datalink_proto *
|
|
register_8022_client(unsigned char type,
|
|
int (*func)(struct sk_buff *skb,
|
|
struct net_device *dev,
|
|
struct packet_type *pt,
|
|
struct net_device *orig_dev));
|
|
void unregister_8022_client(struct datalink_proto *proto);
|
|
|
|
struct datalink_proto *make_8023_client(void);
|
|
void destroy_8023_client(struct datalink_proto *dl);
|
|
#endif
|