Linux Audio

Check our new training course

Loading...
v3.1
 
 1#ifndef _NET_P8022_H
 2#define _NET_P8022_H
 3extern struct datalink_proto *
 4	register_8022_client(unsigned char type,
 5			     int (*func)(struct sk_buff *skb,
 6					 struct net_device *dev,
 7					 struct packet_type *pt,
 8					 struct net_device *orig_dev));
 9extern void unregister_8022_client(struct datalink_proto *proto);
10
11extern struct datalink_proto *make_8023_client(void);
12extern void destroy_8023_client(struct datalink_proto *dl);
13#endif
v4.17
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _NET_P8022_H
 3#define _NET_P8022_H
 4struct datalink_proto *
 5register_8022_client(unsigned char type,
 6		     int (*func)(struct sk_buff *skb,
 7				 struct net_device *dev,
 8				 struct packet_type *pt,
 9				 struct net_device *orig_dev));
10void unregister_8022_client(struct datalink_proto *proto);
11
12struct datalink_proto *make_8023_client(void);
13void destroy_8023_client(struct datalink_proto *dl);
14#endif