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