diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2015-10-07 11:52:14 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-10-12 13:23:40 +0800 |
commit | fdccce4596218e49ca4d0f5d4b3f0c453bd99ba0 (patch) | |
tree | f08596389c826fae079e3644be2fc031119115cf /net/Makefile.objs | |
parent | 9abce56d7b319b0c78b487720d128706272e0a0c (diff) | |
download | qemu-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 'net/Makefile.objs')
-rw-r--r-- | net/Makefile.objs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile.objs b/net/Makefile.objs index ec19cb3..914aec0 100644 --- a/net/Makefile.objs +++ b/net/Makefile.objs @@ -13,3 +13,4 @@ common-obj-$(CONFIG_HAIKU) += tap-haiku.o common-obj-$(CONFIG_SLIRP) += slirp.o common-obj-$(CONFIG_VDE) += vde.o common-obj-$(CONFIG_NETMAP) += netmap.o +common-obj-y += filter.o |