^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) #ifndef LLC_SAP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #define LLC_SAP_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #include <asm/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * Copyright (c) 1997 by Procom Technology,Inc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) * This program can be redistributed or modified under the terms of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) * GNU General Public License as published by the Free Software Foundation.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) * This program is distributed without any warranty or implied warranty
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) * of merchantability or fitness for a particular purpose.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * See the GNU General Public License for more details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct llc_sap;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) struct net_device;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) struct sk_buff;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) struct sock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) void llc_save_primitive(struct sock *sk, struct sk_buff *skb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) unsigned char prim);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) u8 type, u32 data_size);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) unsigned char *dmac, unsigned char dsap);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) unsigned char *dmac, unsigned char dsap);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #endif /* LLC_SAP_H */