]> git.proxmox.com Git - mirror_ovs.git/commit - lib/flow.c
flow: Add some L7 payload data to most L4 protocols that accept it.
authorBen Pfaff <blp@ovn.org>
Fri, 26 Jan 2018 22:36:05 +0000 (14:36 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 27 Jan 2018 16:58:31 +0000 (08:58 -0800)
commit6f06837989bbc0d98ab895abce7fc812a42827f4
tree06f559077afd35abb64398a40b637ea99632ee59
parent89225d6515cb1ca4f2d8da1117922f922fda53aa
flow: Add some L7 payload data to most L4 protocols that accept it.

This makes traffic generated by flow_compose() look slightly more
realistic.  It requires lots of updates to tests, but at least the tests
themselves should be slightly more realistic too.

At the same time, add --l7 and --l7-len options to ofproto/trace to allow
users to specify the amount or contents of payloads that they want.

Suggested-by: Brad Cowie <brad@cowie.nz>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Tested-by: Yifeng Sun <pkusunyifeng@gmail.com>
Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
14 files changed:
NEWS
lib/flow.c
lib/flow.h
lib/netdev-dummy.c
ofproto/ofproto-dpif-trace.c
ofproto/ofproto-dpif.c
ofproto/ofproto-unixctl.man
ovn/controller/ofctrl.c
tests/bfd.at
tests/learn.at
tests/mcast-snooping.at
tests/ofproto-dpif.at
tests/pmd.at
tests/test-ovn.c