void tap_write(char *buf, int len) { int cnt; cnt = tapcfg_write(tapcfg, buf, len); }
int tnt_tun_write(struct tnt_tun *tun, char const *buf, int n) { return tapcfg_write(tun->handle, (void *) buf, n); }