]> git.neil.brown.name Git - history.git/commit
[NET] Reorder struct inet_sock
authorThomas Graf <tgraf@suug.ch>
Wed, 16 Mar 2005 00:40:20 +0000 (01:40 +0100)
committerThomas Graf <tgraf@suug.ch>
Wed, 16 Mar 2005 00:40:20 +0000 (01:40 +0100)
commit553f516cd094a964772541b159e1ca07b2faa9d1
tree6e75c045047ec3435cedb946ce07f86b969dd543
parent3ea6f4950dc8bf6e81bd3cdc47aeba298ef797bd
[NET] Reorder struct inet_sock

tos: int -> 8bit
uc_ttl: int -> 16 bit
cmsg_flags: int -> 16 bit
hdrincl: 8bit -> 1 bit
mc_loop: 8bit -> 1 bit

Saves 12 bytes together with the reordering.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ip.h