18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _NET_P8022_H 38c2ecf20Sopenharmony_ci#define _NET_P8022_H 48c2ecf20Sopenharmony_cistruct datalink_proto * 58c2ecf20Sopenharmony_ciregister_8022_client(unsigned char type, 68c2ecf20Sopenharmony_ci int (*func)(struct sk_buff *skb, 78c2ecf20Sopenharmony_ci struct net_device *dev, 88c2ecf20Sopenharmony_ci struct packet_type *pt, 98c2ecf20Sopenharmony_ci struct net_device *orig_dev)); 108c2ecf20Sopenharmony_civoid unregister_8022_client(struct datalink_proto *proto); 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_cistruct datalink_proto *make_8023_client(void); 138c2ecf20Sopenharmony_civoid destroy_8023_client(struct datalink_proto *dl); 148c2ecf20Sopenharmony_ci#endif 15