tap: fix non-linux build
tap_fd_set_vnet_le/tap_fd_set_vnet_be was missing, fix it up. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
This commit is contained in:
parent
c80cd6bb9c
commit
4ee9b43be9
@ -55,6 +55,16 @@ void tap_fd_set_vnet_hdr_len(int fd, int len)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_le(int fd, int is_le)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_be(int fd, int is_be)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
void tap_fd_set_offload(int fd, int csum, int tso4,
|
void tap_fd_set_offload(int fd, int csum, int tso4,
|
||||||
int tso6, int ecn, int ufo)
|
int tso6, int ecn, int ufo)
|
||||||
{
|
{
|
||||||
|
@ -196,6 +196,16 @@ void tap_fd_set_vnet_hdr_len(int fd, int len)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_le(int fd, int is_le)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_be(int fd, int is_be)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
void tap_fd_set_offload(int fd, int csum, int tso4,
|
void tap_fd_set_offload(int fd, int csum, int tso4,
|
||||||
int tso6, int ecn, int ufo)
|
int tso6, int ecn, int ufo)
|
||||||
{
|
{
|
||||||
|
@ -55,6 +55,16 @@ void tap_fd_set_vnet_hdr_len(int fd, int len)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_le(int fd, int is_le)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_be(int fd, int is_be)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
void tap_fd_set_offload(int fd, int csum, int tso4,
|
void tap_fd_set_offload(int fd, int csum, int tso4,
|
||||||
int tso6, int ecn, int ufo)
|
int tso6, int ecn, int ufo)
|
||||||
{
|
{
|
||||||
|
@ -223,6 +223,16 @@ void tap_fd_set_vnet_hdr_len(int fd, int len)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_le(int fd, int is_le)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_be(int fd, int is_be)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
void tap_fd_set_offload(int fd, int csum, int tso4,
|
void tap_fd_set_offload(int fd, int csum, int tso4,
|
||||||
int tso6, int ecn, int ufo)
|
int tso6, int ecn, int ufo)
|
||||||
{
|
{
|
||||||
|
@ -688,6 +688,16 @@ void tap_fd_set_vnet_hdr_len(int fd, int len)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_le(int fd, int is_le)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
|
int tap_fd_set_vnet_be(int fd, int is_be)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
static void tap_using_vnet_hdr(NetClientState *nc, bool using_vnet_hdr)
|
static void tap_using_vnet_hdr(NetClientState *nc, bool using_vnet_hdr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user