mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
Fixed bug #31304: Changed SHUT_RD, SHUT_WR and SHUT_RDWR to resemble other stacks.
This commit is contained in:
parent
e3817cd549
commit
d2679e58a6
@ -229,6 +229,10 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2010-11-20: Simon Goldschmidt
|
||||||
|
* sockets.h: Fixed bug #31304: Changed SHUT_RD, SHUT_WR and SHUT_RDWR to
|
||||||
|
resemble other stacks.
|
||||||
|
|
||||||
2010-11-20: Simon Goldschmidt
|
2010-11-20: Simon Goldschmidt
|
||||||
* dns.c: Fixed bug #31535: TCP_SND_QUEUELEN must be at least 2 or else
|
* dns.c: Fixed bug #31535: TCP_SND_QUEUELEN must be at least 2 or else
|
||||||
no-copy TCP writes will never succeed.
|
no-copy TCP writes will never succeed.
|
||||||
|
@ -48,9 +48,10 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* For the netconn API, these values are use as a bitmask! */
|
||||||
#define NETCONN_SHUT_RD 1
|
#define NETCONN_SHUT_RD 1
|
||||||
#define NETCONN_SHUT_WR 2
|
#define NETCONN_SHUT_WR 2
|
||||||
#define NETCONN_SHUT_RDWR 3
|
#define NETCONN_SHUT_RDWR (NETCONN_SHUT_RD | NETCONN_SHUT_WR)
|
||||||
|
|
||||||
/* IP addresses and port numbers are expected to be in
|
/* IP addresses and port numbers are expected to be in
|
||||||
* the same byte order as in the corresponding pcb.
|
* the same byte order as in the corresponding pcb.
|
||||||
|
@ -280,9 +280,9 @@ typedef struct ip_mreq {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SHUT_RD
|
#ifndef SHUT_RD
|
||||||
#define SHUT_RD 1
|
#define SHUT_RD 0
|
||||||
#define SHUT_WR 2
|
#define SHUT_WR 1
|
||||||
#define SHUT_RDWR 3
|
#define SHUT_RDWR 2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FD_SET used for lwip_select */
|
/* FD_SET used for lwip_select */
|
||||||
|
Loading…
Reference in New Issue
Block a user