From: Stephen Hemminger <shemminger@linux-foundation.org>
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>
Cc: netdev@vger.kernel.org,
"YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
Subject: Re: [Resend(2)] [PATCH 01/05] ipv6: RFC4214 Support (4)
Date: Tue, 13 Nov 2007 13:10:38 -0800 [thread overview]
Message-ID: <20071113131038.50ad9914@freepuppy.rosehill> (raw)
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A1029EDC1A@XCH-NW-7V2.nw.nos.boeing.com>
> +#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 <shemminger@linux-foundation.org>
prev parent reply other threads:[~2007-11-13 21:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 21:32 [Resend(2)] [PATCH 01/05] ipv6: RFC4214 Support (4) Templin, Fred L
2007-11-13 21:10 ` Stephen Hemminger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071113131038.50ad9914@freepuppy.rosehill \
--to=shemminger@linux-foundation.org \
--cc=Fred.L.Templin@boeing.com \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox