> +#if defined(CONFIG_IPV6_ISATAP) > +/* only for IFF_ISATAP interfaces */ > +static inline int ipv6_addr_is_isatap(const struct in6_addr *addr) > +{ > + return ((addr->s6_addr32[2] | htonl(0x02000000)) == > htonl(0x02005EFE)); > +} > +#endif > +
No need to make this conditional, unless you want to define an equivalent inline for !ISATAP that always returns 0. -- Stephen Hemminger <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html