From: Marcus Sundberg <marcus@ingate.com>
To: netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] nfsim: Support more netfilter modules
Date: Tue, 13 Dec 2005 19:47:15 +0100 [thread overview]
Message-ID: <439F1733.7010201@ingate.com> (raw)
In-Reply-To: <439ED1C5.7070103@ingate.com>
Marcus Sundberg wrote:
> --- nfsim/kernelenv/include/kernelenv.h (revision 6316)
> +++ nfsim/kernelenv/include/kernelenv.h (working copy)
> @@ -1166,6 +1177,10 @@
>
> static inline void smp_read_barrier_depends(void) {;}
>
> +/* delay.h */
> +
> +#define msleep(x) do{unsigned int y = (x)*1000; usleep(y);}while(0)
> +
> /* timer.h */
>
> /* not used at the moment */
Hmm, actually I guess something like:
#define msleep(x) increment_time((x)*HZ/1000)
would make more sense. Comments (on this or the original patch)?
//Marcus
--
---------------------------------------+--------------------------
Marcus Sundberg <marcus@ingate.com> | Firewalls with SIP & NAT
Software Developer, Ingate Systems AB | http://www.ingate.com/
next prev parent reply other threads:[~2005-12-13 18:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 13:51 [PATCH] nfsim: Support more netfilter modules Marcus Sundberg
2005-12-13 18:47 ` Marcus Sundberg [this message]
2005-12-15 2:21 ` Patrick McHardy
2005-12-15 1:15 ` Patrick McHardy
2006-01-06 14:40 ` Harald Welte
2006-01-12 10:25 ` Marcus Sundberg
2006-01-12 11:14 ` Harald Welte
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=439F1733.7010201@ingate.com \
--to=marcus@ingate.com \
--cc=netfilter-devel@lists.netfilter.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 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.