On Mon, Jul 11, 2016 at 11:56:50PM -0700, Justin Pettit wrote:
> This will have a caller in a future commit.
>
> Signed-off-by: Justin Pettit <[email protected]>
> +static inline bool
> +in6_is_lla(struct in6_addr *addr)
> +{
> + return addr->s6_addr32[0] == htonl(0xfe800000) && !(addr->s6_addr32[1]);
> +}
One more thing: not all implementations have s6_addr32, so we probably
need a fallback.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev