Thread (6 messages) flat view 6 messages, 2 authors, 2015-01-05

Re: [PATCH net-next 4/4] ip: Add support for IP_CHECKSUM cmsg

From: David Miller <davem@davemloft.net>
Date: 2015-01-05 21:12:47

From: Tom Herbert <redacted>
Date: Mon,  5 Jan 2015 12:00:35 -0800
quoted hunk ↗ jump to hunk
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index 4091fab..2823fc0 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -203,6 +203,7 @@ struct inet_sock {
 #define IP_CMSG_RETOPTS		(1 << 4)
 #define IP_CMSG_PASSSEC		(1 << 5)
 #define IP_CMSG_ORIGDSTADDR	(1 << 6)
+#define IP_CMSG_CHECKSUM	(1 << 7)
Likewise, please include linux/bitops.h and use "BIT()" for this.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help