Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef __6LOWPAN_I_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define __6LOWPAN_I_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #include <linux/netdevice.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #include <net/6lowpan.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) /* caller need to be sure it's dev->type is ARPHRD_6LOWPAN */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) static inline bool lowpan_is_ll(const struct net_device *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 				enum lowpan_lltypes lltype)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	return lowpan_dev(dev)->lltype == lltype;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) extern const struct ndisc_ops lowpan_ndisc_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) int addrconf_ifid_802154_6lowpan(u8 *eui, struct net_device *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #ifdef CONFIG_6LOWPAN_DEBUGFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) void lowpan_dev_debugfs_init(struct net_device *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) void lowpan_dev_debugfs_exit(struct net_device *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) void __init lowpan_debugfs_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) void lowpan_debugfs_exit(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) static inline void lowpan_dev_debugfs_init(struct net_device *dev) { }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) static inline void lowpan_dev_debugfs_exit(struct net_device *dev) { }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) static inline void __init lowpan_debugfs_init(void) { }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) static inline void lowpan_debugfs_exit(void) { }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #endif /* CONFIG_6LOWPAN_DEBUGFS */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) #endif /* __6LOWPAN_I_H */