| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef LLC_SAP_H | 
|  | 2 | #define LLC_SAP_H | 
| Joonwoo Park | f83f176 | 2008-03-31 21:02:47 -0700 | [diff] [blame] | 3 |  | 
|  | 4 | #include <asm/types.h> | 
|  | 5 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | /* | 
|  | 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 | */ | 
|  | 17 | struct llc_sap; | 
| Arnaldo Carvalho de Melo | 1d67e65 | 2005-09-22 03:27:56 -0300 | [diff] [blame] | 18 | struct net_device; | 
| Arnaldo Carvalho de Melo | 04e4223 | 2005-09-22 04:40:59 -0300 | [diff] [blame] | 19 | struct sk_buff; | 
|  | 20 | struct sock; | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 |  | 
|  | 22 | extern void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb); | 
| Arnaldo Carvalho de Melo | 04e4223 | 2005-09-22 04:40:59 -0300 | [diff] [blame] | 23 | extern void llc_save_primitive(struct sock *sk, struct sk_buff* skb, | 
|  | 24 | unsigned char prim); | 
| Joonwoo Park | f83f176 | 2008-03-31 21:02:47 -0700 | [diff] [blame] | 25 | extern struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev, | 
|  | 26 | u8 type, u32 data_size); | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 |  | 
|  | 28 | extern void llc_build_and_send_test_pkt(struct llc_sap *sap, | 
|  | 29 | struct sk_buff *skb, | 
|  | 30 | unsigned char *dmac, | 
|  | 31 | unsigned char dsap); | 
|  | 32 | extern void llc_build_and_send_xid_pkt(struct llc_sap *sap, | 
|  | 33 | struct sk_buff *skb, | 
|  | 34 | unsigned char *dmac, | 
|  | 35 | unsigned char dsap); | 
|  | 36 | #endif /* LLC_SAP_H */ |