aboutsummaryrefslogtreecommitdiff
path: root/lib/vconn.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2010-01-21 17:34:05 -0800
committerJustin Pettit <jpettit@nicira.com>2010-02-20 02:22:28 -0800
commit834377ea559d665520910968358c522f30d3eb93 (patch)
tree89b7c16a94cb916b066d08a402ecaa77bb82851b /lib/vconn.c
parent26c3f94a553be66dd037159148f30b47ef2c6f4b (diff)
ofproto: Match on IP ToS/DSCP bits (OpenFlow 1.0)
OpenFlow 1.0 adds support for matching on IP ToS/DSCP bits. NOTE: OVS at this point is not wire-compatible with OpenFlow 1.0 until the final commit in this OpenFlow 1.0 set.
Diffstat (limited to 'lib/vconn.c')
-rw-r--r--lib/vconn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vconn.c b/lib/vconn.c
index 7aab8215..f8d3beb0 100644
--- a/lib/vconn.c
+++ b/lib/vconn.c
@@ -898,6 +898,7 @@ make_flow_mod(uint16_t command, const flow_t *flow, size_t actions_len)
ofm->match.nw_src = flow->nw_src;
ofm->match.nw_dst = flow->nw_dst;
ofm->match.nw_proto = flow->nw_proto;
+ ofm->match.nw_tos = flow->nw_tos;
ofm->match.tp_src = flow->tp_src;
ofm->match.tp_dst = flow->tp_dst;
ofm->command = htons(command);