diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2015-10-07 11:52:18 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-10-12 13:30:45 +0800 |
commit | 7ef7bc8586fb0d41742a896b532c7afa2bbb7f84 (patch) | |
tree | dd0351b26fc452987545bee53b77374b2b18e67b /include/net | |
parent | 3e033a46a7e39ea31e15f1b53402df990977115a (diff) | |
download | qemu-7ef7bc8586fb0d41742a896b532c7afa2bbb7f84.tar.gz qemu-7ef7bc8586fb0d41742a896b532c7afa2bbb7f84.tar.bz2 qemu-7ef7bc8586fb0d41742a896b532c7afa2bbb7f84.zip |
netfilter: add an API to pass the packet to next filter
add an API qemu_netfilter_pass_to_next() to pass the packet
to next filter.
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/filter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/filter.h b/include/net/filter.h index db035b6ef5..56399763cc 100644 --- a/include/net/filter.h +++ b/include/net/filter.h @@ -66,4 +66,11 @@ ssize_t qemu_netfilter_receive(NetFilterState *nf, int iovcnt, NetPacketSent *sent_cb); +/* pass the packet to the next filter */ +ssize_t qemu_netfilter_pass_to_next(NetClientState *sender, + unsigned flags, + const struct iovec *iov, + int iovcnt, + void *opaque); + #endif /* QEMU_NET_FILTER_H */ |