On Thu, May 14, 2015 at 08:12:33PM +0200, Jiri Benc wrote:
> These functions will be used by the next patch.
> 
> Signed-off-by: Jiri Benc <jb...@redhat.com>

POSIX doesn't guarantee the presence of an s6_addr32 member so this
yields errors from sparse:
    ../lib/packets.h:712:15: error: no member 's6_addr32' in struct in6_addr
    ../lib/packets.h:712:15: error: no member 's6_addr32' in struct in6_addr
    ../lib/packets.h:712:15: error: no member 's6_addr32' in struct in6_addr

You could use the strategy from ipv6_addr_bitand(), of testing for
s6_addr32 and having a fallback.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to