blob: 6dd4cdccca42e3de5824ac63b2f2c7552e202a10 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef LLC_SAP_H
2#define LLC_SAP_H
3/*
4 * Copyright (c) 1997 by Procom Technology,Inc.
5 * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
6 *
7 * This program can be redistributed or modified under the terms of the
8 * GNU General Public License as published by the Free Software Foundation.
9 * This program is distributed without any warranty or implied warranty
10 * of merchantability or fitness for a particular purpose.
11 *
12 * See the GNU General Public License for more details.
13 */
14struct llc_sap;
15struct sk_buff;
Arnaldo Carvalho de Melo1d67e652005-09-22 03:27:56 -030016struct net_device;
Linus Torvalds1da177e2005-04-16 15:20:36 -070017
18extern void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
19extern void llc_save_primitive(struct sk_buff* skb, unsigned char prim);
Arnaldo Carvalho de Melo1d67e652005-09-22 03:27:56 -030020extern struct sk_buff *llc_alloc_frame(struct net_device *dev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
22extern void llc_build_and_send_test_pkt(struct llc_sap *sap,
23 struct sk_buff *skb,
24 unsigned char *dmac,
25 unsigned char dsap);
26extern void llc_build_and_send_xid_pkt(struct llc_sap *sap,
27 struct sk_buff *skb,
28 unsigned char *dmac,
29 unsigned char dsap);
30#endif /* LLC_SAP_H */