mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Define AF_NFC and PF_NFC
This commit is contained in:
parent
cbff0d9689
commit
8accd4dccc
@ -1,5 +1,10 @@
|
||||
2011-07-23 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
|
||||
(AF_NFC): Define.
|
||||
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
|
||||
(AF_NFC): Define.
|
||||
|
||||
* sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
|
||||
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
|
||||
|
@ -111,7 +111,8 @@ enum __socket_type
|
||||
#define PF_IEEE802154 36 /* IEEE 802.15.4 sockets. */
|
||||
#define PF_CAIF 37 /* CAIF sockets. */
|
||||
#define PF_ALG 38 /* Algorithm sockets. */
|
||||
#define PF_MAX 39 /* For now.. */
|
||||
#define PF_NFC 39 /* NFC sockets. */
|
||||
#define PF_MAX 40 /* For now.. */
|
||||
|
||||
/* Address families. */
|
||||
#define AF_UNSPEC PF_UNSPEC
|
||||
@ -154,6 +155,7 @@ enum __socket_type
|
||||
#define AF_IEEE802154 PF_IEEE802154
|
||||
#define AF_CAIF PF_CAIF
|
||||
#define AF_ALG PF_ALG
|
||||
#define AF_NFC PF_NFC
|
||||
#define AF_MAX PF_MAX
|
||||
|
||||
/* Socket level values. Others are defined in the appropriate headers.
|
||||
|
@ -111,7 +111,8 @@ enum __socket_type
|
||||
#define PF_IEEE802154 36 /* IEEE 802.15.4 sockets. */
|
||||
#define PF_CAIF 37 /* CAIF sockets. */
|
||||
#define PF_ALG 38 /* Algorithm sockets. */
|
||||
#define PF_MAX 39 /* For now.. */
|
||||
#define PF_NFC 39 /* NFC sockets. */
|
||||
#define PF_MAX 40 /* For now.. */
|
||||
|
||||
/* Address families. */
|
||||
#define AF_UNSPEC PF_UNSPEC
|
||||
@ -154,6 +155,7 @@ enum __socket_type
|
||||
#define AF_IEEE802154 PF_IEEE802154
|
||||
#define AF_CAIF PF_CAIF
|
||||
#define AF_ALG PF_ALG
|
||||
#define AF_NFC PF_NFC
|
||||
#define AF_MAX PF_MAX
|
||||
|
||||
/* Socket level values. Others are defined in the appropriate headers.
|
||||
|
Loading…
Reference in New Issue
Block a user