llc_sap.h 1.1 KB

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