Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
socket_data Struct Reference

Data Fields

struct net_contextcontext
 
net_context_connect_cb_t connect_cb
 
net_tcp_accept_cb_t accept_cb
 
net_context_recv_cb_t recv_cb
 
voidconnect_user_data
 
voidrecv_user_data
 
voidaccept_user_data
 
struct net_pktrx_pkt
 
struct net_bufpkt_buf
 
int ret_code
 
struct k_sem wait_sem
 

Field Documentation

◆ accept_cb

net_tcp_accept_cb_t socket_data::accept_cb

◆ accept_user_data

void* socket_data::accept_user_data

◆ connect_cb

net_context_connect_cb_t socket_data::connect_cb

◆ connect_user_data

void* socket_data::connect_user_data

◆ context

struct net_context* socket_data::context

◆ pkt_buf

struct net_buf* socket_data::pkt_buf

◆ recv_cb

net_context_recv_cb_t socket_data::recv_cb

◆ recv_user_data

void* socket_data::recv_user_data

◆ ret_code

int socket_data::ret_code

◆ rx_pkt

struct net_pkt* socket_data::rx_pkt

◆ wait_sem

struct k_sem socket_data::wait_sem

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