Exemplo n.º 1
0
void tap_write(char *buf, int len)
{
  int cnt;
  cnt = tapcfg_write(tapcfg, buf, len);
}
Exemplo n.º 2
0
Arquivo: tun.c Projeto: nizox/hub
int
tnt_tun_write(struct tnt_tun *tun, char const *buf, int n) {
  return tapcfg_write(tun->handle, (void *) buf, n);
}