Date: Fri, 8 Feb 2013 03:37:51 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r246528 - user/ae/inet6/sys/netinet6 Message-ID: <201302080337.r183bpsq024261@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Fri Feb 8 03:37:51 2013 New Revision: 246528 URL: http://svnweb.freebsd.org/changeset/base/246528 Log: Reduce the size of ip6aux structure, just disable for now all unused and unimplemented fields. Replace the in6_ifaddr pointer to the in6_addr structure and add zone id field. Modified: user/ae/inet6/sys/netinet6/ip6_var.h Modified: user/ae/inet6/sys/netinet6/ip6_var.h ============================================================================== --- user/ae/inet6/sys/netinet6/ip6_var.h Fri Feb 8 01:30:08 2013 (r246527) +++ user/ae/inet6/sys/netinet6/ip6_var.h Fri Feb 8 03:37:51 2013 (r246528) @@ -255,6 +255,7 @@ struct ip6stat { * XXX do not make it a kitchen sink! */ struct ip6aux { +#if 0 u_int32_t ip6a_flags; #define IP6A_SWAP 0x01 /* swapped home/care-of on packet */ #define IP6A_HASEEN 0x02 /* HA was present */ @@ -266,11 +267,12 @@ struct ip6aux { struct in6_addr ip6a_home; /* home address of the peer */ u_int16_t ip6a_bruid; /* BR unique identifier */ - /* ip6.ip6_dst */ - struct in6_ifaddr *ip6a_dstia6; /* my ifaddr that matches ip6_dst */ - /* rtalert */ u_int16_t ip6a_rtalert; /* rtalert option value */ +#endif + /* ip6.ip6_dst */ + struct in6_addr ip6a_dst; /* address that matches ip6_dst */ + uint32_t ip6a_dstzone; /* zone id */ /* * decapsulation history will be here.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302080337.r183bpsq024261>