| To: | YOSHIFUJI@xxxxxxxxxxxxxxxx, UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX-ERROR |
|---|---|
| Subject: | Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support) |
| From: | acme@xxxxxxxxxxxxxxxx |
| Date: | Thu, 03 Oct 2002 00:53:01 -0300 (BRST) |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, usagi@xxxxxxxxxxxxxx |
| In-reply-to: | <20021003.121350.119660876.yoshfuji@xxxxxxxxxxxxxx> |
| References: | <20021003.121350.119660876.yoshfuji@xxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | IMP/PHP IMAP webmail program 2.2.8 |
Quoting YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>: > +#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 |
| Previous by Date: | Re: FIN_WAIT1 / TCP_CORK / 2.2 -- reproducible bug and test case, James Morris |
|---|---|
| Next by Date: | Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support), acme |
| Previous by Thread: | [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support), YOSHIFUJI Hideaki / 吉藤英明 |
| Next by Thread: | Re: [PATCH] IPv6: Allow Both IPv6 and IPv4 Sockets on the Same Port Number (IPV6_V6ONLY Support), acme |
| Indexes: | [Date] [Thread] [Top] [All Lists] |