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

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

From: Harald Welte <hidden>
Date: 2006-01-31 09:26:24
Also in: netfilter-devel

On Tue, Jan 31, 2006 at 09:50:52AM +0100, Balazs Scheidler wrote:
quoted
-	int32_t offset_before, offset_after;
+	int16_t offset_before, offset_after;
Am I missing something or is it only 4 bytes?
I knew someone would ask that question ;)

we have that structure as part of an IP_CT_DIR_MAX array, therefore it's
twice in every conntrack, and thus we save 8 bytes ;)

-- 
- Harald Welte [off-list ref]                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

Attachments

  • (unnamed) [application/pgp-signature] 189 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help