mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Add definitions for new socket protocols.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2011-01-17 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
|
||||||
|
PF_CAIF, and PF_ALG.
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
|
||||||
|
|
||||||
2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
|
2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
|
||||||
|
|
||||||
* elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
|
* elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* System-specific socket constants and types. Linux version.
|
/* System-specific socket constants and types. Linux version.
|
||||||
Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009, 2010
|
Copyright (C) 1991, 1992, 1994-2001, 2004, 2006-2010, 2011
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -109,7 +109,9 @@ enum __socket_type
|
|||||||
#define PF_ISDN 34 /* mISDN sockets. */
|
#define PF_ISDN 34 /* mISDN sockets. */
|
||||||
#define PF_PHONET 35 /* Phonet sockets. */
|
#define PF_PHONET 35 /* Phonet sockets. */
|
||||||
#define PF_IEEE802154 36 /* IEEE 802.15.4 sockets. */
|
#define PF_IEEE802154 36 /* IEEE 802.15.4 sockets. */
|
||||||
#define PF_MAX 37 /* For now.. */
|
#define PF_CAIF 37 /* CAIF sockets. */
|
||||||
|
#define PF_ALG 38 /* Algorithm sockets. */
|
||||||
|
#define PF_MAX 39 /* For now.. */
|
||||||
|
|
||||||
/* Address families. */
|
/* Address families. */
|
||||||
#define AF_UNSPEC PF_UNSPEC
|
#define AF_UNSPEC PF_UNSPEC
|
||||||
@ -150,6 +152,8 @@ enum __socket_type
|
|||||||
#define AF_ISDN PF_ISDN
|
#define AF_ISDN PF_ISDN
|
||||||
#define AF_PHONET PF_PHONET
|
#define AF_PHONET PF_PHONET
|
||||||
#define AF_IEEE802154 PF_IEEE802154
|
#define AF_IEEE802154 PF_IEEE802154
|
||||||
|
#define AF_CAIF PF_CAIF
|
||||||
|
#define AF_ALG PF_ALG
|
||||||
#define AF_MAX PF_MAX
|
#define AF_MAX PF_MAX
|
||||||
|
|
||||||
/* Socket level values. Others are defined in the appropriate headers.
|
/* Socket level values. Others are defined in the appropriate headers.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* System-specific socket constants and types. Linux/SPARC version.
|
/* System-specific socket constants and types. Linux/SPARC version.
|
||||||
Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009
|
Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009, 2011
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
@ -108,7 +108,9 @@ enum __socket_type
|
|||||||
#define PF_ISDN 34 /* mISDN sockets. */
|
#define PF_ISDN 34 /* mISDN sockets. */
|
||||||
#define PF_PHONET 35 /* Phonet sockets. */
|
#define PF_PHONET 35 /* Phonet sockets. */
|
||||||
#define PF_IEEE802154 36 /* IEEE 802.15.4 sockets. */
|
#define PF_IEEE802154 36 /* IEEE 802.15.4 sockets. */
|
||||||
#define PF_MAX 37 /* For now.. */
|
#define PF_CAIF 37 /* CAIF sockets. */
|
||||||
|
#define PF_ALG 38 /* Algorithm sockets. */
|
||||||
|
#define PF_MAX 39 /* For now.. */
|
||||||
|
|
||||||
/* Address families. */
|
/* Address families. */
|
||||||
#define AF_UNSPEC PF_UNSPEC
|
#define AF_UNSPEC PF_UNSPEC
|
||||||
@ -149,6 +151,8 @@ enum __socket_type
|
|||||||
#define AF_ISDN PF_ISDN
|
#define AF_ISDN PF_ISDN
|
||||||
#define AF_PHONET PF_PHONET
|
#define AF_PHONET PF_PHONET
|
||||||
#define AF_IEEE802154 PF_IEEE802154
|
#define AF_IEEE802154 PF_IEEE802154
|
||||||
|
#define AF_CAIF PF_CAIF
|
||||||
|
#define AF_ALG PF_ALG
|
||||||
#define AF_MAX PF_MAX
|
#define AF_MAX PF_MAX
|
||||||
|
|
||||||
/* Socket level values. Others are defined in the appropriate headers.
|
/* Socket level values. Others are defined in the appropriate headers.
|
||||||
|
Reference in New Issue
Block a user