blob: 9dcfcf4a4abb5c131a17e851c4357b0728d128b5 [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;
Arnaldo Carvalho de Melo1d67e652005-09-22 03:27:56 -030015struct net_device;
Arnaldo Carvalho de Melo04e42232005-09-22 04:40:59 -030016struct sk_buff;
17struct sock;
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
19extern void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
Arnaldo Carvalho de Melo04e42232005-09-22 04:40:59 -030020extern void llc_save_primitive(struct sock *sk, struct sk_buff* skb,
21 unsigned char prim);
Arnaldo Carvalho de Melo1d67e652005-09-22 03:27:56 -030022extern struct sk_buff *llc_alloc_frame(struct net_device *dev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
24extern void llc_build_and_send_test_pkt(struct llc_sap *sap,
25 struct sk_buff *skb,
26 unsigned char *dmac,
27 unsigned char dsap);
28extern void llc_build_and_send_xid_pkt(struct llc_sap *sap,
29 struct sk_buff *skb,
30 unsigned char *dmac,
31 unsigned char dsap);
32#endif /* LLC_SAP_H */