version 1.1.1.2, 2018/04/24 18:32:51
|
version 1.1.1.3, 2018/04/24 18:42:32
|
Line 38
|
Line 38
|
#include <net/if.h> |
#include <net/if.h> |
#include <syslog.h> |
#include <syslog.h> |
#include <stropts.h> |
#include <stropts.h> |
|
#include "qemu-error.h" |
|
|
ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen) |
ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen) |
{ |
{ |
Line 211 int tap_probe_has_ufo(int fd)
|
Line 212 int tap_probe_has_ufo(int fd)
|
return 0; |
return 0; |
} |
} |
|
|
|
int tap_probe_vnet_hdr_len(int fd, int len) |
|
{ |
|
return 0; |
|
} |
|
|
|
void tap_fd_set_vnet_hdr_len(int fd, int len) |
|
{ |
|
} |
|
|
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) |
{ |
{ |