diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2011-01-25 20:49:51 +0000 |
|---|---|---|
| committer | Joseph Myers <joseph@codesourcery.com> | 2011-01-25 20:49:51 +0000 |
| commit | eb76b06f882cf13ce8b5f51712e9c738db2b40d9 (patch) | |
| tree | d28ec6931869d823df5705ac2e38738e7f5b5a99 | |
| parent | bd44238d1afea9457789228f1e3495b5546a7153 (diff) | |
| download | glibc-eb76b06f882cf13ce8b5f51712e9c738db2b40d9.tar.xz glibc-eb76b06f882cf13ce8b5f51712e9c738db2b40d9.zip | |
Define new socket constants for MIPS.
| -rw-r--r-- | ChangeLog.mips | 5 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/socket.h | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips index 0d933f390a..16ca191ad4 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2011-01-25 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG, + PF_CAIF, PF_ALG): Define. + 2010-12-30 Joseph Myers <joseph@codesourcery.com> * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h index 9f90216c97..91af8b2f8a 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/socket.h +++ b/sysdeps/unix/sysv/linux/mips/bits/socket.h @@ -1,6 +1,6 @@ /* System-specific socket constants and types. Linux/MIPS version. Copyright (C) 1991, 92, 1994-1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008, - 2009, 2010 Free Software Foundation, Inc. + 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -109,7 +109,9 @@ enum __socket_type #define PF_ISDN 34 /* mISDN sockets. */ #define PF_PHONET 35 /* Phonet 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. */ #define AF_UNSPEC PF_UNSPEC @@ -150,6 +152,8 @@ enum __socket_type #define AF_ISDN PF_ISDN #define AF_PHONET PF_PHONET #define AF_IEEE802154 PF_IEEE802154 +#define AF_CAIF PF_CAIF +#define AF_ALG PF_ALG #define AF_MAX PF_MAX /* Socket level values. Others are defined in the appropriate headers. |
