Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
net_socket_service_event Struct Reference

This struct contains information which socket triggered calls to the callback function. More...

#include <socket_service.h>

Data Fields

struct k_work work
 k_work that is done when there is desired activity in file descriptor.
 
k_work_handler_t callback
 Callback to be called for desired socket activity.
 
struct zsock_pollfd event
 Socket information that triggered this event.
 
void * user_data
 User data.
 
struct net_socket_service_descsvc
 Service back pointer.
 

Detailed Description

This struct contains information which socket triggered calls to the callback function.

Field Documentation

◆ callback

k_work_handler_t net_socket_service_event::callback

Callback to be called for desired socket activity.

◆ event

struct zsock_pollfd net_socket_service_event::event

Socket information that triggered this event.

◆ svc

struct net_socket_service_desc* net_socket_service_event::svc

Service back pointer.

◆ user_data

void* net_socket_service_event::user_data

User data.

◆ work

struct k_work net_socket_service_event::work

k_work that is done when there is desired activity in file descriptor.


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