qemu-e2k/net
zhanghailiang 338d3f415e filter: Add 'status' property for filter object
With this property, users can control if this filter is 'on'
or 'off'. The default behavior for filter is 'on'.

For some types of filters, they may need to react to status changing,
So here, we introduced status changing callback/notifier for filter class.

We will skip the disabled ('off') filter when delivering packets in net layer.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Yang Hongyang <hongyang.yang@easystack.cn>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2016-03-08 15:34:18 +08:00
..
checksum.c net: Clean up includes 2016-02-04 17:41:30 +00:00
clients.h
dump.c qom: Swap 'name' next to visitor in ObjectPropertyAccessor 2016-02-08 17:29:56 +01:00
eth.c net: Clean up includes 2016-02-04 17:41:30 +00:00
filter-buffer.c qom: Swap 'name' next to visitor in ObjectPropertyAccessor 2016-02-08 17:29:56 +01:00
filter.c filter: Add 'status' property for filter object 2016-03-08 15:34:18 +08:00
hub.c net: Clean up includes 2016-02-04 17:41:30 +00:00
hub.h
l2tpv3.c net: Clean up includes 2016-02-04 17:41:30 +00:00
Makefile.objs netfilter: add a netbuffer filter 2015-10-12 13:31:28 +08:00
net.c qapi-dealloc: Reduce use outside of generated code 2016-03-04 17:16:32 +01:00
netmap.c net: netmap: probe netmap interface for virtio-net header 2016-03-08 15:34:18 +08:00
queue.c net: Clean up includes 2016-02-04 17:41:30 +00:00
slirp.c net: Clean up includes 2016-02-04 17:41:30 +00:00
socket.c net: Clean up includes 2016-02-04 17:41:30 +00:00
tap_int.h tap: add VNET_LE/VNET_BE operations 2015-06-17 17:12:54 +02:00
tap-aix.c net: Clean up includes 2016-02-04 17:41:30 +00:00
tap-bsd.c net: Clean up includes 2016-02-04 17:41:30 +00:00
tap-haiku.c net: Clean up includes 2016-02-04 17:41:30 +00:00
tap-linux.c net: Clean up includes 2016-02-04 17:41:30 +00:00
tap-linux.h all: Clean up includes 2016-02-23 12:43:05 +00:00
tap-solaris.c net: Clean up includes 2016-02-04 17:41:30 +00:00
tap-win32.c net: Clean up includes 2016-02-04 17:41:30 +00:00
tap.c net: simplify net_init_tap_one logic 2016-03-08 15:34:09 +08:00
util.c net: Clean up includes 2016-02-04 17:41:30 +00:00
util.h all: Clean up includes 2016-02-23 12:43:05 +00:00
vde.c net: Clean up includes 2016-02-04 17:41:30 +00:00
vhost-user.c net: Clean up includes 2016-02-04 17:41:30 +00:00