All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Oeser <netdev@axxeo.de>
To: Jon Paul Maloy <jon.maloy@ericsson.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
	Jon Paul Maloy <jon.maloy@ericsson.com>,
	Per Liden <per.liden@ericsson.com>,
	"Stephens, Allan" <allan.stephens@windriver.com>
Subject: Re: [Fwd: [PATCH] [TIPC]: Enhancements to msg_set_bits() routine]
Date: Fri, 27 Apr 2007 13:06:16 +0200	[thread overview]
Message-ID: <200704271306.17480.netdev@axxeo.de> (raw)
In-Reply-To: <462FBADA.2060701@ericsson.com>

Hi Jon,

Jon Paul Maloy schrieb:
> Ingo Oeser wrote:
> > static inlinevoid msg_set_bits(struct tipc_msg *m, u32 w,
> >   				u32 pos, __be32 mask, __be32 val)
> >
> >
> > Care to resubmit?

> I don't mind at all, but I would first like to understand better
> what this means. 
> If I understand it correctly __be32 literally means "big-endian
> 32-bit integer", but the way it is used doesn't seem to imply this,
> since both input and output to htonl() often is of that type.

Yes, you are right! I mixed up htonl and ntohl :-)
Sorry for the confusion!

Best Regards

Ingo Oeser

      parent reply	other threads:[~2007-04-27 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24 18:56 [Fwd: [PATCH] [TIPC]: Enhancements to msg_set_bits() routine] Jon Paul Maloy
2007-04-25 16:39 ` Ingo Oeser
     [not found]   ` <462FBADA.2060701@ericsson.com>
2007-04-27 11:06     ` Ingo Oeser [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=200704271306.17480.netdev@axxeo.de \
    --to=netdev@axxeo.de \
    --cc=allan.stephens@windriver.com \
    --cc=davem@davemloft.net \
    --cc=jon.maloy@ericsson.com \
    --cc=netdev@vger.kernel.org \
    --cc=per.liden@ericsson.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.