~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/net/ieee802154/6lowpan/6lowpan_i.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef __IEEE802154_6LOWPAN_I_H__
  3 #define __IEEE802154_6LOWPAN_I_H__
  4 
  5 #include <linux/list.h>
  6 
  7 #include <net/ieee802154_netdev.h>
  8 #include <net/inet_frag.h>
  9 #include <net/6lowpan.h>
 10 
 11 typedef unsigned __bitwise lowpan_rx_result;
 12 #define RX_CONTINUE             ((__force lowpan_rx_result) 0u)
 13 #define RX_DROP_UNUSABLE        ((__force lowpan_rx_result) 1u)
 14 #define RX_DROP                 ((__force lowpan_rx_result) 2u)
 15 #define RX_QUEUED               ((__force lowpan_rx_result) 3u)
 16 
 17 #define LOWPAN_DISPATCH_FRAG1           0xc0
 18 #define LOWPAN_DISPATCH_FRAGN           0xe0
 19 
 20 struct frag_lowpan_compare_key {
 21         u16 tag;
 22         u16 d_size;
 23         struct ieee802154_addr src;
 24         struct ieee802154_addr dst;
 25 };
 26 
 27 /* Equivalent of ipv4 struct ipq
 28  */
 29 struct lowpan_frag_queue {
 30         struct inet_frag_queue  q;
 31 };
 32 
 33 int lowpan_frag_rcv(struct sk_buff *skb, const u8 frag_type);
 34 void lowpan_net_frag_exit(void);
 35 int lowpan_net_frag_init(void);
 36 
 37 void lowpan_rx_init(void);
 38 void lowpan_rx_exit(void);
 39 
 40 int lowpan_header_create(struct sk_buff *skb, struct net_device *dev,
 41                          unsigned short type, const void *_daddr,
 42                          const void *_saddr, unsigned int len);
 43 netdev_tx_t lowpan_xmit(struct sk_buff *skb, struct net_device *dev);
 44 
 45 int lowpan_iphc_decompress(struct sk_buff *skb);
 46 lowpan_rx_result lowpan_rx_h_ipv6(struct sk_buff *skb);
 47 
 48 #endif /* __IEEE802154_6LOWPAN_I_H__ */
 49 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php