Go to the documentation of this file.
24 #ifndef __IEEE802154_H
25 #define __IEEE802154_H
27 #ifdef HAVE_NET_IEEE802154_H
30 #ifdef HAVE_NET_AF_IEEE802154_H
31 #include <net/af_ieee802154.h>
34 #ifndef IEEE802154_ADDR_LEN
35 #define IEEE802154_ADDR_LEN 8
38 #include <sys/socket.h>
40 #ifndef HAVE_STRUCT_SOCKADDR_IEEE802154
65 #define N_IEEE802154 19
69 #define PF_IEEE802154 36
70 #define AF_IEEE802154 PF_IEEE802154
73 #include <net/if_arp.h>
74 #ifndef ARPHRD_IEEE802154
75 #define ARPHRD_IEEE802154 804
76 #define ARPHRD_IEEE802154_PHY 805
79 #ifndef IEEE802154_MAC_SCAN_ED
80 #define IEEE802154_MAC_SCAN_ED 0x0
81 #define IEEE802154_MAC_SCAN_ACTIVE 0x1
82 #define IEEE802154_MAC_SCAN_PASSIVE 0x2
83 #define IEEE802154_MAC_SCAN_ORPHAN 0x3
86 #include <linux/if_ether.h>
87 #ifndef ETH_P_IEEE802154
88 #define ETH_P_IEEE802154 0x00F6
92 #ifndef SOL_IEEE802154
93 #define SOL_IEEE802154 0
97 #define WPAN_WANTACK 0