GDB (xrefs)
Loading...
Searching...
No Matches
Functions
ser-tcp.h File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ net_close()

void net_close ( struct serial * scb)
extern

Definition at line 392 of file ser-tcp.c.

References serial::fd.

Referenced by net_open(), and net_windows_close().

◆ net_open()

int net_open ( struct serial * scb,
const char * name )
extern

◆ net_read_prim()

int net_read_prim ( struct serial * scb,
size_t count )
extern

Definition at line 402 of file ser-tcp.c.

References serial::buf, and serial::fd.

◆ net_write_prim()

int net_write_prim ( struct serial * scb,
const void * buf,
size_t count )
extern

Definition at line 411 of file ser-tcp.c.

References serial::fd.

◆ ser_tcp_send_break()

int ser_tcp_send_break ( struct serial * scb)
extern

Definition at line 421 of file ser-tcp.c.

References serial_write().