diff options
-rw-r--r-- | include/net/net.h | 1 | ||||
-rw-r--r-- | net/net.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/net/net.h b/include/net/net.h index 99b28d5..9a92c70 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; }; @@ -492,6 +492,7 @@ void qemu_set_vnet_hdr_len(NetClientState *nc, int len) return; } + nc->vnet_hdr_len = len; nc->info->set_vnet_hdr_len(nc, len); } |