Lines Matching refs:direction
29 NetFilterDirection direction, in qemu_netfilter_receive() argument
39 if (nf->direction == direction || in qemu_netfilter_receive()
40 nf->direction == NET_FILTER_DIRECTION_ALL) { in qemu_netfilter_receive()
71 int direction; in qemu_netfilter_pass_to_next() local
80 if (nf->direction == NET_FILTER_DIRECTION_ALL) { in qemu_netfilter_pass_to_next()
83 direction = NET_FILTER_DIRECTION_TX; in qemu_netfilter_pass_to_next()
85 direction = NET_FILTER_DIRECTION_RX; in qemu_netfilter_pass_to_next()
88 direction = nf->direction; in qemu_netfilter_pass_to_next()
91 next = netfilter_next(nf, direction); in qemu_netfilter_pass_to_next()
99 ret = qemu_netfilter_receive(next, direction, sender, flags, iov, in qemu_netfilter_pass_to_next()
104 next = netfilter_next(next, direction); in qemu_netfilter_pass_to_next()
139 return nf->direction; in netfilter_get_direction()
142 static void netfilter_set_direction(Object *obj, int direction, Error **errp) in netfilter_set_direction() argument
145 nf->direction = direction; in netfilter_set_direction()