aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-17 15:34:52 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-17 15:34:52 +0000
commitc5b0e13e208bbc4722be3f45283e75d1333b4957 (patch)
tree004ae47fc7a7c6defe30a56e577d190eda0bf5f4 /sysdeps/unix/sysv/linux/bits
parentc0b50509efc80bc9a2c9ebc787d2ab868816231d (diff)
downloadglibc-c5b0e13e208bbc4722be3f45283e75d1333b4957.tar
glibc-c5b0e13e208bbc4722be3f45283e75d1333b4957.tar.gz
glibc-c5b0e13e208bbc4722be3f45283e75d1333b4957.tar.bz2
glibc-c5b0e13e208bbc4722be3f45283e75d1333b4957.zip
Update.
* sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and MSG_TRYHARD.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits')
-rw-r--r--sysdeps/unix/sysv/linux/bits/socket.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h
index 74b4ca2ee1..7be5d722ae 100644
--- a/sysdeps/unix/sysv/linux/bits/socket.h
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
@@ -81,6 +81,7 @@ enum __socket_type
#define PF_ECONET 19 /* Acorn Econet. */
#define PF_ATMSVC 20 /* ATM SVCs. */
#define PF_SNA 22 /* Linux SNA Project */
+#define PF_IRDA 23 /* IRDA sockets. */
#define PF_MAX 32 /* For now.. */
/* Address families. */
@@ -109,6 +110,7 @@ enum __socket_type
#define AF_ECONET PF_ECONET
#define AF_ATMSVC PF_ATMSVC
#define AF_SNA PF_SNA
+#define AF_IRDA PF_IRDA
#define AF_MAX PF_MAX
/* Socket level values. Others are defined in the appropriate headers.
@@ -142,6 +144,11 @@ enum
#define MSG_PEEK MSG_PEEK
MSG_DONTROUTE = 0x04, /* Don't use local routing. */
#define MSG_DONTROUTE MSG_DONTROUTE
+#ifdef __USE_GNU
+ /* DECnet uses a different name. */
+ MSG_TRYHARD = MSG_DONTROUTE,
+# define MSG_TRYHARD MSG_DONTROUTE
+#endif
MSG_CTRUNC = 0x08, /* Control data lost before delivery. */
#define MSG_CTRUNC MSG_CTRUNC
MSG_PROXY = 0x10 /* Supply or ask second address. */