Searched refs:serial_fd (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/networking/ |
D | slattach.c | 50 #define serial_fd 3 macro 56 ret = tcsetattr(serial_fd, TCSANOW, state); in tcsetattr_serial_or_warn() 70 if (ioctl_or_warn(serial_fd, TIOCSETD, &G.saved_disc)) { in restore_state_and_exit() 86 close(serial_fd); in restore_state_and_exit() 157 xmove_fd(fd, serial_fd); in slattach_main() 160 if (tcgetattr(serial_fd, &G.saved_state) != 0) in slattach_main() 163 xioctl(serial_fd, TIOCGETD, &G.saved_disc); in slattach_main() 197 if (ioctl_or_warn(serial_fd, TIOCSETD, (void*)&int_N_SLIP)) in slattach_main() 200 if (ioctl_or_warn(serial_fd, SIOCSIFENCAP, &encap)) in slattach_main() 216 if (ioctl(serial_fd, TIOCMGET, &modem_stat)) in slattach_main()
|