aboutsummaryrefslogtreecommitdiff
path: root/pfinet/linux-src/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/linux-src/include/net/tcp.h')
-rw-r--r--pfinet/linux-src/include/net/tcp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pfinet/linux-src/include/net/tcp.h b/pfinet/linux-src/include/net/tcp.h
index d6797ea5..b95bd20d 100644
--- a/pfinet/linux-src/include/net/tcp.h
+++ b/pfinet/linux-src/include/net/tcp.h
@@ -835,9 +835,9 @@ static __inline__ void tcp_push_pending_frames(struct sock *sk, struct tcp_opt *
/* This tells the input processing path that an ACK should go out
* right now.
*/
-#define tcp_enter_quickack_mode(__tp) ((__tp)->ato |= (1<<31))
-#define tcp_exit_quickack_mode(__tp) ((__tp)->ato &= ~(1<<31))
-#define tcp_in_quickack_mode(__tp) (((__tp)->ato & (1 << 31)) != 0)
+#define tcp_enter_quickack_mode(__tp) ((__tp)->ato |= (1U<<31))
+#define tcp_exit_quickack_mode(__tp) ((__tp)->ato &= ~(1U<<31))
+#define tcp_in_quickack_mode(__tp) (((__tp)->ato & (1U << 31)) != 0)
/*
* List all states of a TCP socket that can be viewed as a "connected"