mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
net/filter-mirror: Follow CODING_STYLE
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
1723a7f7cf
commit
f0aabd5c4a
1 changed files with 4 additions and 3 deletions
|
@ -77,8 +77,9 @@ err:
|
||||||
return ret < 0 ? ret : -EIO;
|
return ret < 0 ? ret : -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void redirector_to_filter(NetFilterState *nf,
|
||||||
redirector_to_filter(NetFilterState *nf, const uint8_t *buf, int len)
|
const uint8_t *buf,
|
||||||
|
int len)
|
||||||
{
|
{
|
||||||
struct iovec iov = {
|
struct iovec iov = {
|
||||||
.iov_base = (void *)buf,
|
.iov_base = (void *)buf,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue