https://github.com/torvalds/linux
Raw File
Tip revision: 44549e8f5eea4e0a41b487b63e616cb089922b99 authored by Linus Torvalds on 08 May 2016, 21:38:32 UTC
Linux 4.6-rc7
Tip revision: 44549e8
psnap.h
#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