From: acme@conectiva.com.br
To: YOSHIFUJI@conectiva.com.br, UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR
Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com, usagi@linux-ipv6.org
Subject: Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support)
Date: Thu, 03 Oct 2002 00:53:01 -0300 (BRST) [thread overview]
Message-ID: <1033617181.3d9bbf1d557a3@webmail.conectiva.com.br> (raw)
In-Reply-To: <20021003.121350.119660876.yoshfuji@linux-ipv6.org>
Quoting YOSHIFUJI Hideaki / ^[$B5HF#1QL@^[(B <yoshfuji@linux-ipv6.org>:
> +#define IN6_IS_ADDR_V4MAPPED(a) \
> + ((((a)->s6_addr32[0]) == 0) && \
> + (((a)->s6_addr32[1]) == 0) && \
> + (((a)->s6_addr32[2]) == __constant_htonl(0x0000ffff)))
Please use plain htonl, __constant_htonl is only needed in static
initializations, in all other cases with constants as a parameter it
generates the same code as htonl, so lets prefer using the shorter,
more readable format.
- Arnaldo
next prev parent reply other threads:[~2002-10-03 3:53 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-03 3:13 [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support) YOSHIFUJI Hideaki / 吉藤英明
2002-10-03 3:53 ` acme [this message]
2002-10-03 3:55 ` acme
2002-10-03 7:00 ` Pekka Savola
2002-10-03 8:29 ` David S. Miller
2002-10-03 8:55 ` Brad Hards
2002-10-03 8:58 ` David S. Miller
2002-10-03 13:06 ` [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same kuznet
2002-10-03 13:02 ` David S. Miller
2002-10-03 13:18 ` Pekka Savola
2002-10-03 13:13 ` David S. Miller
2002-10-03 13:01 ` [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port kuznet
2002-10-03 14:15 ` YOSHIFUJI Hideaki / 吉藤英明
2002-10-03 14:10 ` David S. Miller
2002-10-03 15:06 ` YOSHIFUJI Hideaki / 吉藤英明
2002-10-03 15:04 ` David S. Miller
2002-10-03 15:19 ` YOSHIFUJI Hideaki / 吉藤英明
2002-10-03 15:52 ` kuznet
2002-10-23 7:24 ` [PATCH] IPV6_V6ONLY Support, v2 (is Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port) YOSHIFUJI Hideaki / 吉藤英明
2002-10-23 7:23 ` David S. Miller
2002-10-23 7:58 ` YOSHIFUJI Hideaki / 吉藤英明
2002-10-23 8:06 ` YOSHIFUJI Hideaki / 吉藤英明
2002-10-23 8:02 ` David S. Miller
2002-10-23 7:36 ` Pekka Savola
2002-10-23 10:01 ` YOSHIFUJI Hideaki / 吉藤英明
2002-10-23 10:15 ` Pekka Savola
2002-10-23 10:12 ` David S. Miller
2002-10-24 16:24 ` [PATCH] IPV6_V6ONLY Support, v2 (is Re: [PATCH] IPv6: Allow Both kuznet
2002-10-25 7:46 ` Pekka Savola
2002-10-23 15:53 ` [PATCH] IPV6_V6ONLY Support, v2 (is Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port) Kyle C Quest
2002-10-23 16:06 ` Pekka Savola
2002-10-23 16:09 ` Kyle C Quest
2002-10-24 10:24 ` David S. Miller
-- strict thread matches above, loose matches on Subject: below --
2002-10-03 3:53 [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support) acme
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=1033617181.3d9bbf1d557a3@webmail.conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=YOSHIFUJI@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=usagi@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;
as well as URLs for NNTP newsgroup(s).