Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /usr/src/linux-headers-6.14.0-1011-aws/include/net/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _NET_INET_DATALINK_H_ #define _NET_INET_DATALINK_H_ #include <linux/list.h> struct llc_sap; struct net_device; struct packet_type; struct sk_buff; struct datalink_proto { unsigned char type[8]; struct llc_sap *sap; unsigned short header_length; int (*rcvfunc)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *); int (*request)(struct datalink_proto *, struct sk_buff *, const unsigned char *); struct list_head node; }; #endif