Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56e7e7e
)
Clarified the dscp-tos documentation a bit.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 28 May 2008 18:01:08 +0000
(20:01 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 28 May 2008 18:01:08 +0000
(20:01 +0200)
daemon/net.c
patch
|
blob
|
blame
|
history
diff --git
a/daemon/net.c
b/daemon/net.c
index
1b3af9d
..
d0cd9c8
100644
(file)
--- a/
daemon/net.c
+++ b/
daemon/net.c
@@
-84,8
+84,9
@@
static struct configvar myvars[] =
{CONF_VAR_INT, "diffserv-mindelay", {.num = 0}},
/** If enabled, the IP TOS interface will be used to set Diffserv
* codepoints on IPv4 sockets, by shifting the DSCP value two bits
{CONF_VAR_INT, "diffserv-mindelay", {.num = 0}},
/** If enabled, the IP TOS interface will be used to set Diffserv
* codepoints on IPv4 sockets, by shifting the DSCP value two bits
- * to the left (across the ECN bits). This may only work on
- * Linux. */
+ * to the left (remember, the DSCP field in the IPv4 header is
+ * defined as the 6 uppermost bits of the TOS field, the lower two
+ * being left for ECN). This may only work on Linux. */
{CONF_VAR_BOOL, "dscp-tos", {.num = 0}},
{CONF_VAR_END}
};
{CONF_VAR_BOOL, "dscp-tos", {.num = 0}},
{CONF_VAR_END}
};