Przeglądaj źródła

fix missing SO_RCVBUFFORCE and SO_SNDBUFFORCE in mips socket.h

(cherry picked from commit 468bc11ed059c475f974920ac3d499e6071a6b2c)
Rich Felker 11 lat temu
rodzic
commit
d7389f0175
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      arch/mips/bits/socket.h

+ 2 - 1
arch/mips/bits/socket.h

@@ -31,7 +31,6 @@ struct cmsghdr
 #define SO_RCVBUF       0x1002
 #define SO_KEEPALIVE    8
 #define SO_OOBINLINE    256
-
 #define SO_NO_CHECK     11
 #define SO_PRIORITY     12
 #define SO_LINGER       128
@@ -43,6 +42,8 @@ struct cmsghdr
 #define SO_SNDLOWAT     0x1003
 #define SO_RCVTIMEO     0x1006
 #define SO_SNDTIMEO     0x1005
+#define SO_SNDBUFFORCE  31
+#define SO_RCVBUFFORCE  33
 
 #define SOCK_NONBLOCK     0200
 #define SOCK_CLOEXEC  02000000