22 softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('filter-replay.c'))
25 softmmu_ss.add(files('l2tpv3.c'))
27 softmmu_ss.add(when: slirp, if_true: files('slirp.c'))
28 softmmu_ss.add(when: vde, if_true: files('vde.c'))
30 softmmu_ss.add(files('netmap.c'))
32 if have_vhost_net_user
33 softmmu_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-user.c'), if_false: files('vhost-user-stub.c'))
34 softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-user-stub.c'))
37 softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('tap-linux.c'))
38 softmmu_ss.add(when: 'CONFIG_BSD', if_true: files('tap-bsd.c'))
39 softmmu_ss.add(when: 'CONFIG_SOLARIS', if_true: files('tap-solaris.c'))
41 if not config_host.has_key('CONFIG_LINUX') and not config_host.has_key('CONFIG_BSD') and not config_host.has_key('CONFIG_SOLARIS')
42 tap_posix += 'tap-stub.c'
44 softmmu_ss.add(when: 'CONFIG_POSIX', if_true: files(tap_posix))
45 softmmu_ss.add(when: 'CONFIG_WIN32', if_true: files('tap-win32.c'))
46 if have_vhost_net_vdpa
47 softmmu_ss.add(when: 'CONFIG_VIRTIO_NET', if_true: files('vhost-vdpa.c'), if_false: files('vhost-vdpa-stub.c'))
48 softmmu_ss.add(when: 'CONFIG_ALL', if_true: files('vhost-vdpa-stub.c'))
57 softmmu_ss.add(when: vmnet, if_true: vmnet_files)