]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/qemu-xen.git/commit
init/cleanup of netfilter object
authorYang Hongyang <yanghy@cn.fujitsu.com>
Wed, 7 Oct 2015 03:52:14 +0000 (11:52 +0800)
committerJason Wang <jasowang@redhat.com>
Mon, 12 Oct 2015 05:23:40 +0000 (13:23 +0800)
commitfdccce4596218e49ca4d0f5d4b3f0c453bd99ba0
treef08596389c826fae079e3644be2fc031119115cf
parent9abce56d7b319b0c78b487720d128706272e0a0c
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>
include/net/filter.h [new file with mode: 0644]
include/net/net.h
include/qemu/typedefs.h
net/Makefile.objs
net/filter.c [new file with mode: 0644]
net/net.c
qapi-schema.json