diff options
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r-- | include/net/net_namespace.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 5f9eb260990f..361d26077196 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h | |||
@@ -373,6 +373,14 @@ static inline void rt_genid_bump_ipv6(struct net *net) | |||
373 | } | 373 | } |
374 | #endif | 374 | #endif |
375 | 375 | ||
376 | #if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN) | ||
377 | static inline struct netns_ieee802154_lowpan * | ||
378 | net_ieee802154_lowpan(struct net *net) | ||
379 | { | ||
380 | return &net->ieee802154_lowpan; | ||
381 | } | ||
382 | #endif | ||
383 | |||
376 | /* For callers who don't really care about whether it's IPv4 or IPv6 */ | 384 | /* For callers who don't really care about whether it's IPv4 or IPv6 */ |
377 | static inline void rt_genid_bump_all(struct net *net) | 385 | static inline void rt_genid_bump_all(struct net *net) |
378 | { | 386 | { |