]> git.openfabrics.org - ~emulex/compat.git/commitdiff
Add posix SHUT_RD/SHUT_WR/SHUT_RDWR macros
authorArnaud Lacombe <lacombar@gmail.com>
Tue, 1 Dec 2009 08:38:17 +0000 (03:38 -0500)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 1 Dec 2009 17:57:48 +0000 (09:57 -0800)
Added on commit 91cf45f0 by Trond Myklebust in include/linux/net.h.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
compat-2.6.24.h

index d8f7c2ca226d551a5f128bcb3eb014d07ccb6804..68d33c764f6ad1db300e445d787a350da1da297b 100644 (file)
 /* Added on 2.6.24 in include/linux/types.h by Al viro on commit 142956af */
 typedef unsigned long               uintptr_t;
 
+/* From include/linux/net.h */
+enum sock_shutdown_cmd {
+       SHUT_RD         = 0,
+       SHUT_WR         = 1,
+       SHUT_RDWR       = 2,
+};
+
 #if (LINUX_VERSION_CODE == KERNEL_VERSION(2,6,23)) /* Local check */
 /* Added as of 2.6.24 in include/linux/skbuff.h.
  *