/qemu/net/ |
H A D | tap.c | 610 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 D | meson.build | 49 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 D | tap-linux.c | 143 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 D | tap-win32.c | 748 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 D | tap-stub.c | 36 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
|
H A D | tap_int.h | 36 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp);
|
H A D | tap-bsd.c | 201 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
|
H A D | tap-solaris.c | 205 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
|
/qemu/tests/qemu-iotests/ |
H A D | testrunner.py | 141 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 D | meson.build | 44 args = ['-tap', '-' + format] 56 '-tap', '-' + format, item, 67 protocol: 'tap',
|
H A D | check | 190 with TestRunner(env, tap=args.tap,
|
/qemu/tests/bench/ |
H A D | meson.build | 36 args: ['--tap', '-k'], 37 protocol: 'tap',
|
/qemu/docs/devel/ |
H A D | ebpf_rss.rst | 34 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 D | colo-proxy.txt | 65 | 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 D | COLO-FT.txt | 163 -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 D | microchip-icicle-kit.rst | 87 -nic tap,ifname=tap,model=cadence_gem,script=no \
|
/qemu/qapi/ |
H A D | net.json | 210 # @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 D | microvm.rst | 82 -netdev tap,id=tap0,script=no,downscript=no \ 106 -netdev tap,id=tap0,script=no,downscript=no \
|
H A D | xenpvh.rst | 45 -netdev type=tap,id=net0,ifname=vif3.0-emu,br=xenbr0,script=no,downscript=no \
|
/qemu/tests/unit/ |
H A D | meson.build | 197 args: ['--tap', '-k'], 198 protocol: 'tap',
|
/qemu/docs/system/ppc/ |
H A D | ppce500.rst | 161 -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 D | powernv.rst | 139 -netdev tap,helper=/usr/lib/qemu/qemu-bridge-helper,br=virbr0,id=netdev0 \
|
/qemu/tests/functional/ |
H A D | meson.build | 407 protocol: 'tap',
|
/qemu/tests/qtest/ |
H A D | meson.build | 451 test_args = ['--tap', '-k'] 462 protocol: 'tap',
|
/qemu/docs/devel/testing/ |
H A D | acpi-bits.rst | 95 tap format).
|