From d6b732e953673e4e1f4b36868c206a08213b6708 Mon Sep 17 00:00:00 2001 From: Zhang Chen Date: Tue, 4 Jul 2017 14:53:45 +0800 Subject: net: Add vnet_hdr_len arguments in NetClientState Add vnet_hdr_len arguments in NetClientState that make other module get real vnet_hdr_len easily. Signed-off-by: Zhang Chen Signed-off-by: Jason Wang --- include/net/net.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/net/net.h') diff --git a/include/net/net.h b/include/net/net.h index 99b28d5b38..9a92c704ea 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -100,6 +100,7 @@ struct NetClientState { unsigned int queue_index; unsigned rxfilter_notify_enabled:1; int vring_enable; + int vnet_hdr_len; QTAILQ_HEAD(NetFilterHead, NetFilterState) filters; }; -- cgit v1.2.3