11da177e4SLinus Torvalds #ifndef LLC_SAP_H 21da177e4SLinus Torvalds #define LLC_SAP_H 3f83f1768SJoonwoo Park 4f83f1768SJoonwoo Park #include <asm/types.h> 5f83f1768SJoonwoo Park 61da177e4SLinus Torvalds /* 71da177e4SLinus Torvalds * Copyright (c) 1997 by Procom Technology,Inc. 81da177e4SLinus Torvalds * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br> 91da177e4SLinus Torvalds * 101da177e4SLinus Torvalds * This program can be redistributed or modified under the terms of the 111da177e4SLinus Torvalds * GNU General Public License as published by the Free Software Foundation. 121da177e4SLinus Torvalds * This program is distributed without any warranty or implied warranty 131da177e4SLinus Torvalds * of merchantability or fitness for a particular purpose. 141da177e4SLinus Torvalds * 151da177e4SLinus Torvalds * See the GNU General Public License for more details. 161da177e4SLinus Torvalds */ 171da177e4SLinus Torvalds struct llc_sap; 181d67e650SArnaldo Carvalho de Melo struct net_device; 1904e4223fSArnaldo Carvalho de Melo struct sk_buff; 2004e4223fSArnaldo Carvalho de Melo struct sock; 211da177e4SLinus Torvalds 22*bf3c710fSJoe Perches void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb); 23*bf3c710fSJoe Perches void llc_save_primitive(struct sock *sk, struct sk_buff *skb, 2404e4223fSArnaldo Carvalho de Melo unsigned char prim); 25*bf3c710fSJoe Perches struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev, 26f83f1768SJoonwoo Park u8 type, u32 data_size); 271da177e4SLinus Torvalds 28*bf3c710fSJoe Perches void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb, 29*bf3c710fSJoe Perches unsigned char *dmac, unsigned char dsap); 30*bf3c710fSJoe Perches void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb, 31*bf3c710fSJoe Perches unsigned char *dmac, unsigned char dsap); 321da177e4SLinus Torvalds #endif /* LLC_SAP_H */ 33