swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: a7904a538933c525096ca2ccde1e60d0ee62c08e authored by Linus Torvalds on 19 December 2021, 22:14:33 UTC
Linux 5.16-rc6
Tip revision: a7904a5
psnap.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _NET_PSNAP_H
#define _NET_PSNAP_H

struct datalink_proto *
register_snap_client(const unsigned char *desc,
		     int (*rcvfunc)(struct sk_buff *, struct net_device *,
				    struct packet_type *,
				    struct net_device *orig_dev));
void unregister_snap_client(struct datalink_proto *proto);

#endif
back to top