p8022.h 504 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _NET_P8022_H
  3. #define _NET_P8022_H
  4. struct net_device;
  5. struct packet_type;
  6. struct sk_buff;
  7. struct datalink_proto *
  8. register_8022_client(unsigned char type,
  9. int (*func)(struct sk_buff *skb,
  10. struct net_device *dev,
  11. struct packet_type *pt,
  12. struct net_device *orig_dev));
  13. void unregister_8022_client(struct datalink_proto *proto);
  14. struct datalink_proto *make_8023_client(void);
  15. void destroy_8023_client(struct datalink_proto *dl);
  16. #endif