int net_write_prim(struct serial *scb, const void *buf, size_t count)
int net_read_prim(struct serial *scb, size_t count)
int net_open(struct serial *scb, const char *name)
int ser_tcp_send_break(struct serial *scb)
void net_close(struct serial *scb)
unsigned char buf[BUFSIZ]