xref: /kernel/linux/linux-5.10/include/net/datalink.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/include/net/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _NET_INET_DATALINK_H_
38c2ecf20Sopenharmony_ci#define _NET_INET_DATALINK_H_
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_cistruct datalink_proto {
68c2ecf20Sopenharmony_ci        unsigned char   type[8];
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci	struct llc_sap   *sap;
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci        unsigned short  header_length;
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci        int     (*rcvfunc)(struct sk_buff *, struct net_device *,
138c2ecf20Sopenharmony_ci                                struct packet_type *, struct net_device *);
148c2ecf20Sopenharmony_ci	int     (*request)(struct datalink_proto *, struct sk_buff *,
158c2ecf20Sopenharmony_ci                                        unsigned char *);
168c2ecf20Sopenharmony_ci	struct list_head node;
178c2ecf20Sopenharmony_ci};
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_cistruct datalink_proto *make_EII_client(void);
208c2ecf20Sopenharmony_civoid destroy_EII_client(struct datalink_proto *dl);
218c2ecf20Sopenharmony_ci#endif
22

Indexes created Thu Nov 07 10:32:03 CST 2024