diff mbox

[RFCv2,bluetooth-next,05/19] 6lowpan: introduce generic default naming

Message ID 20160807143056.3116-6-aar@pengutronix.de (mailing list archive)
State New, archived
Headers show

Commit Message

Alexander Aring Aug. 7, 2016, 2:30 p.m. UTC
This patch adds a default naming for all 6LoWPAN interfaces. All
userspace software should have them as example e.g. for configurations.

I see currently many examples which has different interface naming for
software which works for 6LoWPAN BTLE and 6LoWPAN 802.15.4.

We need to change also all examples outside to this naming stuff, so the
interface naming inside such examples doesn't depends on L2.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
 include/net/6lowpan.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox


diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h
index 7f4b63c..2570237 100644
--- a/include/net/6lowpan.h
+++ b/include/net/6lowpan.h
@@ -78,6 +78,8 @@ 
 #define LOWPAN_DISPATCH_IPHC		0x60 /* 011xxxxx = ... */
 static inline bool lowpan_is_ipv6(u8 dispatch)
 	return dispatch == LOWPAN_DISPATCH_IPV6;