af802154.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Internal interfaces for ieee 802.15.4 address family.
  3. *
  4. * Copyright 2007, 2008, 2009 Siemens AG
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2
  8. * as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * Written by:
  16. * Sergey Lapin <slapin@ossfans.org>
  17. * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
  18. */
  19. #ifndef AF802154_H
  20. #define AF802154_H
  21. struct sk_buff;
  22. struct net_device;
  23. struct ieee802154_addr;
  24. extern struct proto ieee802154_raw_prot;
  25. extern struct proto ieee802154_dgram_prot;
  26. void ieee802154_raw_deliver(struct net_device *dev, struct sk_buff *skb);
  27. int ieee802154_dgram_deliver(struct net_device *dev, struct sk_buff *skb);
  28. struct net_device *ieee802154_get_dev(struct net *net,
  29. const struct ieee802154_addr *addr);
  30. #endif