Lines Matching +full:event +full:- +full:tap
4 * Copyright (c) 2003-2008 Fabrice Bellard
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
29 #include "qemu/error-report.h"
57 snprintf(dname, sizeof dname, "/dev/tap%d", i); in tap_open()
72 return -1; in tap_open()
77 error_setg_errno(errp, errno, "could not get tap name"); in tap_open()
78 return -1; in tap_open()
84 return -1; in tap_open()
98 return -1; in tap_open()
107 #define PATH_NET_TAP "/dev/tap"
117 return -1; in tap_open_clone()
124 error_setg_errno(errp, errno, "could not get tap interface name"); in tap_open_clone()
126 return -1; in tap_open_clone()
136 return -1; in tap_open_clone()
142 error_setg(errp, "could not set tap interface name"); in tap_open_clone()
144 return -1; in tap_open_clone()
156 int fd = -1; in tap_open()
158 /* If the specified tap device already exists just use it. */ in tap_open()
165 return -1; in tap_open()
170 /* Tap device not specified or does not exist. */ in tap_open()
172 return -1; in tap_open()
197 return -1; in tap_open()
201 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
226 return -EINVAL; in tap_fd_set_vnet_le()
231 return -EINVAL; in tap_fd_set_vnet_be()
241 return -1; in tap_fd_enable()
246 return -1; in tap_fd_disable()
251 return -1; in tap_fd_get_ifname()
256 return -1; in tap_fd_set_steering_ebpf()