aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorYang Hongyang <yanghy@cn.fujitsu.com>2015-10-07 11:52:14 +0800
committerJason Wang <jasowang@redhat.com>2015-10-12 13:23:40 +0800
commitfdccce4596218e49ca4d0f5d4b3f0c453bd99ba0 (patch)
treef08596389c826fae079e3644be2fc031119115cf /include/qemu
parent9abce56d7b319b0c78b487720d128706272e0a0c (diff)
downloadqemu-fdccce4596218e49ca4d0f5d4b3f0c453bd99ba0.zip
qemu-fdccce4596218e49ca4d0f5d4b3f0c453bd99ba0.tar.gz
qemu-fdccce4596218e49ca4d0f5d4b3f0c453bd99ba0.tar.bz2
init/cleanup of netfilter object
Add a netfilter object based on QOM. A netfilter is attached to a netdev, captures all network packets that pass through the netdev. When we delete the netdev, we also delete the netfilter object attached to it, because if the netdev is removed, the filter which attached to it is useless. Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/typedefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
index 3a835ff..ee1ce1d 100644
--- a/include/qemu/typedefs.h
+++ b/include/qemu/typedefs.h
@@ -45,6 +45,7 @@ typedef struct Monitor Monitor;
typedef struct MouseTransformInfo MouseTransformInfo;
typedef struct MSIMessage MSIMessage;
typedef struct NetClientState NetClientState;
+typedef struct NetFilterState NetFilterState;
typedef struct NICInfo NICInfo;
typedef struct PcGuestInfo PcGuestInfo;
typedef struct PCIBridge PCIBridge;