fix missing SO_RCVBUFFORCE and SO_SNDBUFFORCE in mips socket.h
authorRich Felker <dalias@aerifal.cx>
Wed, 30 Apr 2014 18:47:06 +0000 (14:47 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 20 May 2014 21:58:24 +0000 (17:58 -0400)
(cherry picked from commit 468bc11ed059c475f974920ac3d499e6071a6b2c)

arch/mips/bits/socket.h

index ba790452bfc88e17473f17c313ce27de9d8e402d..fe5bad99dbe571e0ec32abb8aca34c1b8edab601 100644 (file)
@@ -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