psnap.h 430 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _NET_PSNAP_H
  3. #define _NET_PSNAP_H
  4. struct datalink_proto;
  5. struct sk_buff;
  6. struct packet_type;
  7. struct net_device;
  8. struct datalink_proto *
  9. register_snap_client(const unsigned char *desc,
  10. int (*rcvfunc)(struct sk_buff *, struct net_device *,
  11. struct packet_type *,
  12. struct net_device *orig_dev));
  13. void unregister_snap_client(struct datalink_proto *proto);
  14. #endif