libosmo-netif  1.4.0.19-26cd.202401052026
Osmocom network interface library
osmo_stream_cli Struct Reference

Data Fields

char * name
 
char sockname [OSMO_SOCK_NAME_MAXLEN]
 
enum osmo_stream_mode mode
 
union {
   struct osmo_fd   ofd
 
   struct osmo_io_fd *   iofd
 
}; 
 
struct llist_head tx_queue
 
struct osmo_timer_list timer
 
enum osmo_stream_cli_state state
 
char * addr [OSMO_STREAM_MAX_ADDRS]
 
uint8_t addrcnt
 
uint16_t port
 
char * local_addr [OSMO_STREAM_MAX_ADDRS]
 
uint8_t local_addrcnt
 
uint16_t local_port
 
int sk_domain
 
int sk_type
 
uint16_t proto
 
int(* connect_cb )(struct osmo_stream_cli *cli)
 
int(* disconnect_cb )(struct osmo_stream_cli *cli)
 
int(* read_cb )(struct osmo_stream_cli *cli)
 
int(* iofd_read_cb )(struct osmo_stream_cli *cli, struct msgb *msg)
 
int(* write_cb )(struct osmo_stream_cli *cli)
 
int(* segmentation_cb )(struct msgb *msg)
 
void * data
 
int flags
 
int reconnect_timeout
 
struct osmo_sock_init2_multiaddr_pars ma_pars
 

The documentation for this struct was generated from the following file: