diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-17 15:34:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-17 15:34:52 +0000 |
commit | c5b0e13e208bbc4722be3f45283e75d1333b4957 (patch) | |
tree | 004ae47fc7a7c6defe30a56e577d190eda0bf5f4 | |
parent | c0b50509efc80bc9a2c9ebc787d2ab868816231d (diff) | |
download | glibc-c5b0e13e208bbc4722be3f45283e75d1333b4957.zip glibc-c5b0e13e208bbc4722be3f45283e75d1333b4957.tar.gz glibc-c5b0e13e208bbc4722be3f45283e75d1333b4957.tar.bz2 |
Update.
* sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and
MSG_TRYHARD.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/socket.h | 7 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,8 @@ 1998-12-17 Ulrich Drepper <drepper@cygnus.com> + * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_IRDA, PF_IRDA and + MSG_TRYHARD. + * sunrpc/clnt_unix.c (clntunix_destroy): Use __close not close. * libio/oldtmpfile.c: Likewise. * libio/oldiofdopen.c: Use __fcntl instead fcntl. diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 74b4ca2..7be5d72 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. */ |