psnap.h 351 B

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