Zhang Chen 4b39bdced5 net/filter-rewriter.c: Make filter-rewriter support vnet_hdr_len
We add the vnet_hdr_support option for filter-rewriter, default is disabled.
If you use virtio-net-pci or other driver needs vnet_hdr, please enable it.
You can use it for example:
-object filter-rewriter,id=rew0,netdev=hn0,queue=all,vnet_hdr_support

We get the vnet_hdr_len from NetClientState that make us
parse net packet correctly.

Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2017-07-17 20:13:53 +08:00
..
2017-01-20 10:36:38 +08:00
2017-03-06 11:46:02 +08:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-07-19 20:18:02 +02:00
2016-02-04 17:41:30 +00:00
2017-07-14 11:04:33 +02:00
2016-10-26 09:57:59 +08:00
2017-01-20 14:56:40 +00:00
2016-02-04 17:41:30 +00:00
2016-02-23 12:43:05 +00:00
2016-07-19 20:18:02 +02:00
2017-07-14 11:04:33 +02:00