6lowpan_i.h 623 B

12345678910111213141516171819202122232425262728
  1. #ifndef __6LOWPAN_I_H
  2. #define __6LOWPAN_I_H
  3. #include <linux/netdevice.h>
  4. #ifdef CONFIG_6LOWPAN_DEBUGFS
  5. int lowpan_dev_debugfs_init(struct net_device *dev);
  6. void lowpan_dev_debugfs_exit(struct net_device *dev);
  7. int __init lowpan_debugfs_init(void);
  8. void lowpan_debugfs_exit(void);
  9. #else
  10. static inline int lowpan_dev_debugfs_init(struct net_device *dev)
  11. {
  12. return 0;
  13. }
  14. static inline void lowpan_dev_debugfs_exit(struct net_device *dev) { }
  15. static inline int __init lowpan_debugfs_init(void)
  16. {
  17. return 0;
  18. }
  19. static inline void lowpan_debugfs_exit(void) { }
  20. #endif /* CONFIG_6LOWPAN_DEBUGFS */
  21. #endif /* __6LOWPAN_I_H */