projects/linux·blob master · refs

26 lines · 806 B

1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef LLC_SAP_H
3#define LLC_SAP_H
4
5#include <asm/types.h>
6
7/*
8 * Copyright (c) 1997 by Procom Technology,Inc.
9 * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]>
10 */
11struct llc_sap;
12struct net_device;
13struct sk_buff;
14struct sock;
15
16void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
17void llc_save_primitive(struct sock *sk, struct sk_buff *skb,
18 unsigned char prim);
19struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
20 u8 type, u32 data_size);
21
22void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb,
23 unsigned char *dmac, unsigned char dsap);
24void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
25 unsigned char *dmac, unsigned char dsap);
26#endif /* LLC_SAP_H */