https://github.com/torvalds/linux
Raw File
Tip revision: 387c31c7e5c9805b0aef8833d1731a5fe7bdea14 authored by Linus Torvalds on 29 December 2010, 01:05:48 UTC
Linux 2.6.37-rc8
Tip revision: 387c31c
psnap.h
#ifndef _NET_PSNAP_H
#define _NET_PSNAP_H

extern 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));
extern void unregister_snap_client(struct datalink_proto *proto);

#endif
back to top