diff options
| author | Thomas Graf <tgraf@suug.ch> | 2005-03-16 02:27:28 +0100 |
|---|---|---|
| committer | Thomas Graf <tgraf@suug.ch> | 2005-03-16 02:27:28 +0100 |
| commit | 15f9f6f1e878104b1557504c07d1e4aa7dd4fa8e (patch) | |
| tree | c95dc05536f500954bde814647db8299ac16c8ad /include/linux | |
| parent | [NET] Reorder struct sock (diff) | |
| download | history-15f9f6f1e878104b1557504c07d1e4aa7dd4fa8e.tar.gz history-15f9f6f1e878104b1557504c07d1e4aa7dd4fa8e.zip | |
[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 <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ipv6.h | 7 |
1 files changed, 4 insertions, 3 deletions
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; |
