Lines Matching full:tap
28 #include "tap-linux.h"
29 #include "net/tap.h"
81 * tap it might have been modified e.g. by another instance of qemu. in tap_open()
102 pstrcpy(ifr.ifr_name, IFNAMSIZ, "tap%d"); in tap_open()
120 /* sndbuf implements a kind of flow control for tap.
132 void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp) in tap_set_sndbuf() argument
136 sndbuf = !tap->has_sndbuf ? TAP_DEFAULT_SNDBUF : in tap_set_sndbuf()
137 tap->sndbuf > INT_MAX ? INT_MAX : in tap_set_sndbuf()
138 tap->sndbuf; in tap_set_sndbuf()
144 if (ioctl(fd, TUNSETSNDBUF, &sndbuf) == -1 && tap->has_sndbuf) { in tap_set_sndbuf()
271 /* Enable a specific queue of tap. */
289 /* Disable a specific queue of tap/ */