blob: 1e4df9fd9fb2cf6b06acdf2b923ed41fdfad142c [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef LLC_SAP_H
2#define LLC_SAP_H
Joonwoo Parkf83f1762008-03-31 21:02:47 -07003
4#include <asm/types.h>
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/*
7 * Copyright (c) 1997 by Procom Technology,Inc.
8 * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
9 *
10 * This program can be redistributed or modified under the terms of the
11 * GNU General Public License as published by the Free Software Foundation.
12 * This program is distributed without any warranty or implied warranty
13 * of merchantability or fitness for a particular purpose.
14 *
15 * See the GNU General Public License for more details.
16 */
17struct llc_sap;
Arnaldo Carvalho de Melo1d67e652005-09-22 03:27:56 -030018struct net_device;
Arnaldo Carvalho de Melo04e42232005-09-22 04:40:59 -030019struct sk_buff;
20struct sock;
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Joe Perchesbf3c7102013-09-21 10:22:45 -070022void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
23void llc_save_primitive(struct sock *sk, struct sk_buff *skb,
24 unsigned char prim);
25struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
26 u8 type, u32 data_size);
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
Joe Perchesbf3c7102013-09-21 10:22:45 -070028void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb,
29 unsigned char *dmac, unsigned char dsap);
30void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
31 unsigned char *dmac, unsigned char dsap);
Linus Torvalds1da177e2005-04-16 15:20:36 -070032#endif /* LLC_SAP_H */