xref: /kernel/linux/linux-5.10/include/net/psnap.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/include/net/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _NET_PSNAP_H
38c2ecf20Sopenharmony_ci#define _NET_PSNAP_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_cistruct datalink_proto *
68c2ecf20Sopenharmony_ciregister_snap_client(const unsigned char *desc,
78c2ecf20Sopenharmony_ci		     int (*rcvfunc)(struct sk_buff *, struct net_device *,
88c2ecf20Sopenharmony_ci				    struct packet_type *,
98c2ecf20Sopenharmony_ci				    struct net_device *orig_dev));
108c2ecf20Sopenharmony_civoid unregister_snap_client(struct datalink_proto *proto);
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#endif
13

Indexes created Thu Nov 07 10:32:03 CST 2024