From 12bf4b4adea6fab952bf7b4e9bab173727b1a5b1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 31 Mar 1998 21:20:32 +0000 Subject: [PATCH] Update. 1998-03-31 Ulrich Drepper * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as macros. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/bits/socket.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7bac03b..b84da8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-03-31 Ulrich Drepper + + * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as + macros. + 1998-03-31 18:11 Ulrich Drepper * include/mntent.h: New file. diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 91eec61..ddf1a64 100644 --- a/sysdeps/unix/sysv/linux/bits/socket.h +++ b/sysdeps/unix/sysv/linux/bits/socket.h @@ -130,10 +130,15 @@ struct sockaddr enum { MSG_OOB = 0x01, /* Process out-of-band data. */ +#define MSG_OOB MSG_OOB MSG_PEEK = 0x02, /* Peek at incoming messages. */ +#define MSG_PEEK MSG_PEEK MSG_DONTROUTE = 0x04, /* Don't use local routing. */ +#define MSG_DONTROUTE MSG_DONTROUTE MSG_CTRUNC = 0x08, /* Control data lost before delivery. */ +#define MSG_CTRUNC MSG_CTRUNC MSG_PROXY = 0x10 /* Supply or ask second address. */ +#define MSG_PROXY MSG_PROXY }; -- 2.7.4