From: Herbert Valerio Riedel <hvr@kernel.org>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] inet_ecn.h [2.4.16/2.5.0]
Date: 02 Dec 2001 13:23:29 +0100 [thread overview]
Message-ID: <1007295809.1531.4.camel@janus.txd.hvrlab.org> (raw)
...the following allows to build a kernel without CONFIG_INET...
--- /usr/src/linux/include/net/inet_ecn.h Sat Nov 3 23:50:06 2001
+++ inet_ecn.h Sun Dec 2 13:15:57 2001
@@ -24,8 +24,13 @@
return outer;
}
+#if defined(CONFIG_INET) || defined (CONFIG_INET_MODULE)
#define INET_ECN_xmit(sk) do { (sk)->protinfo.af_inet.tos |= 2; } while (0)
#define INET_ECN_dontxmit(sk) do { (sk)->protinfo.af_inet.tos &= ~3; } while (0)
+#else
+#define INET_ECN_xmit(sk)
+#define INET_ECN_dontxmit(sk)
+#endif
#define IP6_ECN_flow_init(label) do { \
(label) &= ~htonl(3<<20); \
regards,
hvr
--
next reply other threads:[~2001-12-02 12:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-02 12:23 Herbert Valerio Riedel [this message]
2001-12-03 0:09 ` [PATCH] inet_ecn.h [2.4.16/2.5.0] David S. Miller
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=1007295809.1531.4.camel@janus.txd.hvrlab.org \
--to=hvr@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox