Searched refs:inbufptr (Results 1 – 1 of 1) sorted by relevance
/net-tools-3.5.0/ |
D | tunslip6.c | 177 static int inbufptr = 0; in serial_to_tun() local 191 if(inbufptr >= sizeof(uip.inbuf)) { in serial_to_tun() 193 fprintf(stderr, "*** dropping large %d byte packet\n",inbufptr); in serial_to_tun() 194 inbufptr = 0; in serial_to_tun() 214 if(inbufptr > 0) { in serial_to_tun() 267 fwrite(uip.inbuf + 1, inbufptr - 1, 1, stdout); in serial_to_tun() 268 } else if(is_sensible_string(uip.inbuf, inbufptr)) { in serial_to_tun() 271 fwrite(uip.inbuf, inbufptr, 1, stdout); in serial_to_tun() 277 tundev, inbufptr); in serial_to_tun() 285 for(i = 0; i < inbufptr; i++) in serial_to_tun() [all …]
|