aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-05-23 11:43:05 +0900
committerJason Wang <jasowang@redhat.com>2023-05-23 15:20:15 +0800
commit0b11783014a0876344b14872d05ad55b21838e12 (patch)
tree13713253a9619857857b3c49c46b44fad972dee6 /net
parentf0f3ac41d527a2c7bcee26195ae9038f760913f4 (diff)
downloadqemu-0b11783014a0876344b14872d05ad55b21838e12.zip
qemu-0b11783014a0876344b14872d05ad55b21838e12.tar.gz
qemu-0b11783014a0876344b14872d05ad55b21838e12.tar.bz2
net/eth: Rename eth_setup_vlan_headers_ex
The old eth_setup_vlan_headers has no user so remove it and rename eth_setup_vlan_headers_ex. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c
index d7b30df..b6ff89c 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -21,7 +21,7 @@
#include "net/checksum.h"
#include "net/tap.h"
-void eth_setup_vlan_headers_ex(struct eth_header *ehdr, uint16_t vlan_tag,
+void eth_setup_vlan_headers(struct eth_header *ehdr, uint16_t vlan_tag,
uint16_t vlan_ethtype, bool *is_new)
{
struct vlan_header *vhdr = PKT_GET_VLAN_HDR(ehdr);