Thread (4 messages) 4 messages, 2 authors, 2003-06-29

Re: [PATCH] IPV6: use macro for M-Flag and clean-up

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2003-06-29 02:25:44

In article [ref] (at Sun, 29 Jun 2003 11:14:35 +1000 (EST)), James Morris [off-list ref] says:
On Sat, 28 Jun 2003, YOSHIFUJI Hideaki / [iso-2022-jp] $B5HF#1QL@(B wrote:
quoted
-		fh->frag_off = htons(0x0001);
+		fh->frag_off = htons(IP6_MF);
Please use __constant_htons().
No. We don't use __constant_hton{s,l} in runtime code
since October, 2002.  We use hton{s,l} when we can.

-- 
Hideaki YOSHIFUJI @ USAGI Project [off-list ref]
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help