diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-05-23 11:43:29 +0900 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2023-05-23 15:20:15 +0800 |
commit | 7e64a9cabb6b8fe12d315e355e0c362e1453f227 (patch) | |
tree | 0aeab89dc78e4a682a068db32d1da82949c0cc44 /include/net | |
parent | f199b13bc113c46eaddcf9f375d13f1e400b4e35 (diff) | |
download | qemu-7e64a9cabb6b8fe12d315e355e0c362e1453f227.zip qemu-7e64a9cabb6b8fe12d315e355e0c362e1453f227.tar.gz qemu-7e64a9cabb6b8fe12d315e355e0c362e1453f227.tar.bz2 |
igb: Strip the second VLAN tag for extended VLAN
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/eth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/eth.h b/include/net/eth.h index 75e7f15..3b80b6e 100644 --- a/include/net/eth.h +++ b/include/net/eth.h @@ -347,8 +347,8 @@ eth_strip_vlan(const struct iovec *iov, int iovcnt, size_t iovoff, uint16_t *payload_offset, uint16_t *tci); size_t -eth_strip_vlan_ex(const struct iovec *iov, int iovcnt, size_t iovoff, - uint16_t vet, void *new_ehdr_buf, +eth_strip_vlan_ex(const struct iovec *iov, int iovcnt, size_t iovoff, int index, + uint16_t vet, uint16_t vet_ext, void *new_ehdr_buf, uint16_t *payload_offset, uint16_t *tci); uint16_t |