Thread (35 messages) 35 messages, 7 authors, 2006-07-08

Re: [PATCH 1/3] Rough VJ Channel Implementation - vj_core.patch

From: Arnaldo Carvalho de Melo <hidden>
Date: 2006-06-22 04:31:36

On 6/22/06, James Morris [off-list ref] wrote:
On Thu, 22 Jun 2006, Kelly Daly wrote:
quoted
+     switch (bp->netchan_buf_proto) {
+     case __constant_htons(ETH_P_IP): {
__constant_htons and friends should not be used in runtime code, only for
data being initialized at compile time.
... because they generate the same code, so, to make source code less
cluttered  ... :-)

- Arnaldo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help