diff options
Diffstat (limited to 'vu_common.h')
| -rw-r--r-- | vu_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vu_common.h b/vu_common.h index b5112c1..052aff7 100644 --- a/vu_common.h +++ b/vu_common.h @@ -11,7 +11,7 @@ static inline void *vu_eth(void *base) { - return ((char *)base + sizeof(struct virtio_net_hdr_mrg_rxbuf)); + return ((char *)base + VNET_HLEN); } static inline void *vu_ip(void *base) |
