Thread (4 messages) 4 messages, 3 authors, 2006-01-31

Re: [NETFILTER] NAT sequence adjustment: Save eight bytes per conntrack

From: Balazs Scheidler <hidden>
Date: 2006-01-31 08:50:52
Also in: netfilter-devel

On Tue, 2006-01-31 at 00:22 +0100, Harald Welte wrote:
quoted hunk ↗ jump to hunk
---
commit 94d3d40c84672b74e59ea5252f61602610e1513e
tree 63e5ae5174af9f982be6d8d1bbe11e750e4ace32
parent e3c7a1f99300fbd6de35a40fcd9c4dc1b0fbfee2
author Harald Welte [off-list ref] Fri, 27 Jan 2006 16:03:45 +0100
committer Harald Welte [off-list ref] Fri, 27 Jan 2006 16:03:45 +0100

 include/linux/netfilter_ipv4/ip_nat.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/netfilter_ipv4/ip_nat.h b/include/linux/netfilter_ipv4/ip_nat.h
index 41a107d..e9f5ed1 100644
--- a/include/linux/netfilter_ipv4/ip_nat.h
+++ b/include/linux/netfilter_ipv4/ip_nat.h
@@ -23,7 +23,7 @@ struct ip_nat_seq {
 	 * modification (if any) */
 	u_int32_t correction_pos;
 	/* sequence number offset before and after last modification */
-	int32_t offset_before, offset_after;
+	int16_t offset_before, offset_after;
 };
Am I missing something or is it only 4 bytes?

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