1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _NET_P8022_H 2 #ifndef _NET_P8022_H 3 #define _NET_P8022_H 3 #define _NET_P8022_H 4 4 5 struct net_device; 5 struct net_device; 6 struct packet_type; 6 struct packet_type; 7 struct sk_buff; 7 struct sk_buff; 8 8 9 struct datalink_proto * 9 struct datalink_proto * 10 register_8022_client(unsigned char type, 10 register_8022_client(unsigned char type, 11 int (*func)(struct sk_buf 11 int (*func)(struct sk_buff *skb, 12 struct net_de 12 struct net_device *dev, 13 struct packet 13 struct packet_type *pt, 14 struct net_de 14 struct net_device *orig_dev)); 15 void unregister_8022_client(struct datalink_pr 15 void unregister_8022_client(struct datalink_proto *proto); 16 #endif 16 #endif 17 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.