mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
3e033a46a7
commit
7ef7bc8586
2 changed files with 65 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue