From 15f9f6f1e878104b1557504c07d1e4aa7dd4fa8e Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Wed, 16 Mar 2005 02:27:28 +0100 Subject: [NET] Reorder struct ipv6_pinfo Converts hop_limit and mcast_hops to signed 16 bit types saving 4 bytes on 32bit archs and another 4 bytes on 64bit archs. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller --- include/linux/ipv6.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/linux') diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 939942384b..ab0d0efbf2 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -209,8 +209,8 @@ struct ipv6_pinfo { __u32 flow_label; __u32 frag_size; - int hop_limit; - int mcast_hops; + __s16 hop_limit; + __s16 mcast_hops; int mcast_oif; /* pktoption flags */ @@ -233,10 +233,11 @@ struct ipv6_pinfo { pmtudisc:2, ipv6only:1; + __u32 dst_cookie; + struct ipv6_mc_socklist *ipv6_mc_list; struct ipv6_ac_socklist *ipv6_ac_list; struct ipv6_fl_socklist *ipv6_fl_list; - __u32 dst_cookie; struct ipv6_txoptions *opt; struct sk_buff *pktoptions; -- cgit v1.2.3