llc_sap.h 1.1 KB

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