Home
last modified time | relevance | path

Searched refs:tap (Results 1 – 25 of 30) sorted by relevance

12

/qemu/net/
H A Dtap.c610 static int net_tap_init(const NetdevTapOptions *tap, int *vnet_hdr, in net_tap_init() argument
617 if (tap->has_vnet_hdr) { in net_tap_init()
618 *vnet_hdr = tap->vnet_hdr; in net_tap_init()
647 static void net_init_tap_one(const NetdevTapOptions *tap, NetClientState *peer, in net_init_tap_one() argument
657 tap_set_sndbuf(s->fd, tap, &err); in net_init_tap_one()
663 if (tap->fd || tap->fds) { in net_init_tap_one()
665 } else if (tap->helper) { in net_init_tap_one()
666 qemu_set_info_str(&s->nc, "helper=%s", tap->helper); in net_init_tap_one()
678 if (tap->has_vhost ? tap->vhost : in net_init_tap_one()
679 vhostfdname || (tap->has_vhostforce && tap->vhostforce)) { in net_init_tap_one()
[all …]
H A Dmeson.build49 system_ss.add(files('tap-win32.c'))
51 system_ss.add(files('tap.c', 'tap-linux.c'))
53 system_ss.add(files('tap.c', 'tap-bsd.c'))
55 system_ss.add(files('tap.c', 'tap-solaris.c'))
57 system_ss.add(files('tap.c', 'tap-stub.c'))
H A Dtap-linux.c143 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
147 sndbuf = !tap->has_sndbuf ? TAP_DEFAULT_SNDBUF : in tap_set_sndbuf()
148 tap->sndbuf > INT_MAX ? INT_MAX : in tap_set_sndbuf()
149 tap->sndbuf; in tap_set_sndbuf()
155 if (ioctl(fd, TUNSETSNDBUF, &sndbuf) == -1 && tap->has_sndbuf) { in tap_set_sndbuf()
H A Dtap-win32.c748 const NetdevTapOptions *tap; in net_init_tap() local
751 tap = &netdev->u.tap; in net_init_tap()
753 if (!tap->ifname) { in net_init_tap()
758 if (tap_win32_init(peer, "tap", name, tap->ifname) == -1) { in net_init_tap()
H A Dtap-stub.c36 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
H A Dtap_int.h36 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp);
H A Dtap-bsd.c201 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
H A Dtap-solaris.c205 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
/qemu/tests/qemu-iotests/
H A Dtestrunner.py141 def __init__(self, env: TestEnv, tap: bool = False,
144 self.tap = tap
176 if self.tap:
342 if not self.tap:
364 if self.tap:
378 if self.tap:
409 if self.tap:
423 if not self.tap:
H A Dmeson.build44 args = ['-tap', '-' + format]
56 '-tap', '-' + format, item,
67 protocol: 'tap',
H A Dcheck190 with TestRunner(env, tap=args.tap,
/qemu/tests/bench/
H A Dmeson.build36 args: ['--tap', '-k'],
37 protocol: 'tap',
/qemu/docs/devel/
H A Debpf_rss.rst34 eBPF RSS turned on by different combinations of vhost-net, vitrio-net and tap configurations:
38 tap,vhost=off & virtio-net-pci,rss=on,hash=off
42 tap,vhost=on & virtio-net-pci,rss=on,hash=off
46 tap,vhost=off & virtio-net-pci,rss=on,hash=on
50 tap,vhost=on & virtio-net-pci,rss=on,hash=on
/qemu/docs/
H A Dcolo-proxy.txt65 | tap | rx:receiv…
165 -netdev tap,id=hn0,vhost=off
180 -netdev tap,id=hn0,vhost=off
191 -netdev tap,id=hn0,vhost=off,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown
205 -netdev tap,id=hn0,vhost=off
H A DCOLO-FT.txt163 -netdev tap,id=hn0,vhost=off,helper=/usr/lib/qemu/qemu-bridge-helper \
194 -netdev tap,id=hn0,vhost=off,helper=/usr/lib/qemu/qemu-bridge-helper \
/qemu/docs/system/riscv/
H A Dmicrochip-icicle-kit.rst87 -nic tap,ifname=tap,model=cadence_gem,script=no \
/qemu/qapi/
H A Dnet.json210 # @fd: file descriptor of an already opened tap
213 # tap
225 # @vnet_hdr: enable the IFF_VNET_HDR flag on the tap interface
236 # @queues: number of queues to be created for multiqueue capable tap
239 # polling for tap (since 2.7)
735 'data': [ 'none', 'nic', 'user', 'tap', 'l2tpv3', 'socket', 'stream',
760 'tap': 'NetdevTapOptions',
/qemu/docs/system/i386/
H A Dmicrovm.rst82 -netdev tap,id=tap0,script=no,downscript=no \
106 -netdev tap,id=tap0,script=no,downscript=no \
H A Dxenpvh.rst45 -netdev type=tap,id=net0,ifname=vif3.0-emu,br=xenbr0,script=no,downscript=no \
/qemu/tests/unit/
H A Dmeson.build197 args: ['--tap', '-k'],
198 protocol: 'tap',
/qemu/docs/system/ppc/
H A Dppce500.rst161 -nic tap,ifname=tap0,script=no,downscript=no,model=e1000
168 -netdev tap,ifname=tap0,script=no,downscript=no,id=net0 -device eTSEC,netdev=net0
H A Dpowernv.rst139 -netdev tap,helper=/usr/lib/qemu/qemu-bridge-helper,br=virbr0,id=netdev0 \
/qemu/tests/functional/
H A Dmeson.build407 protocol: 'tap',
/qemu/tests/qtest/
H A Dmeson.build451 test_args = ['--tap', '-k']
462 protocol: 'tap',
/qemu/docs/devel/testing/
H A Dacpi-bits.rst95 tap format).

12