diff options
author | Sergey Lapin <slapin@ossfans.org> | 2009-06-08 12:18:47 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-09 05:25:30 -0700 |
commit | fcb94e422479da52ed90bab230c59617a0462416 (patch) | |
tree | 2acc95b672dab170d3bd7ba649d72a5cf7a4fe22 /include/linux/socket.h | |
parent | a4a710c4a7490587406462bf1d54504b7783d7d7 (diff) | |
download | op-kernel-dev-fcb94e422479da52ed90bab230c59617a0462416.zip op-kernel-dev-fcb94e422479da52ed90bab230c59617a0462416.tar.gz |
Add constants for the ieee 802.15.4 stack
IEEE 802.15.4 stack requires several constants to be defined/adjusted.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Sergey Lapin <slapin@ossfans.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/socket.h')
-rw-r--r-- | include/linux/socket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index d2310cb..3b461df 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -194,7 +194,8 @@ struct ucred { #define AF_RXRPC 33 /* RxRPC sockets */ #define AF_ISDN 34 /* mISDN sockets */ #define AF_PHONET 35 /* Phonet sockets */ -#define AF_MAX 36 /* For now.. */ +#define AF_IEEE802154 36 /* IEEE802154 sockets */ +#define AF_MAX 37 /* For now.. */ /* Protocol families, same as address families. */ #define PF_UNSPEC AF_UNSPEC @@ -233,6 +234,7 @@ struct ucred { #define PF_RXRPC AF_RXRPC #define PF_ISDN AF_ISDN #define PF_PHONET AF_PHONET +#define PF_IEEE802154 AF_IEEE802154 #define PF_MAX AF_MAX /* Maximum queue length specifiable by listen. */ |