diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-31 21:14:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-31 21:14:23 +0000 |
commit | c172d222e42190e0db14fab3438127a764b25d98 (patch) | |
tree | d405ff87e298be280f865ac07905e9c3acf1c9fb | |
parent | 91d3e9b18368bdbff06ea8f0755ac032a6066095 (diff) | |
download | glibc-c172d222e42190e0db14fab3438127a764b25d98.tar.gz |
(MSG_*): Also define as macros.
-rw-r--r-- | sysdeps/unix/sysv/linux/socketbits.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/socketbits.h b/sysdeps/unix/sysv/linux/socketbits.h index 30e0ff2e72..1813bdecf8 100644 --- a/sysdeps/unix/sysv/linux/socketbits.h +++ b/sysdeps/unix/sysv/linux/socketbits.h @@ -134,10 +134,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 }; |