libcoap 4.3.5-develop-17c3fee
Loading...
Searching...
No Matches
coap_endpoint_t Struct Reference

Abstraction of virtual endpoint that can be attached to coap_context_t. More...

#include <coap_session_internal.h>

+ Collaboration diagram for coap_endpoint_t:

Data Fields

struct coap_endpoint_tnext
 
coap_context_tcontext
 endpoint's context
 
coap_proto_t proto
 protocol used on this interface
 
uint16_t default_mtu
 default mtu for this interface
 
coap_socket_t sock
 socket object for the interface, if any
 
coap_address_t bind_addr
 local interface address
 
coap_session_tsessions
 hash table or list of active sessions
 
void * app_data
 application-specific data
 
coap_app_data_free_callback_t app_cb
 call-back to release app_data
 

Detailed Description

Abstraction of virtual endpoint that can be attached to coap_context_t.

The keys (port, bind_addr) must uniquely identify this endpoint.

Definition at line 252 of file coap_session_internal.h.

Field Documentation

◆ app_cb

coap_app_data_free_callback_t coap_endpoint_t::app_cb

call-back to release app_data

Definition at line 263 of file coap_session_internal.h.

◆ app_data

void* coap_endpoint_t::app_data

application-specific data

Definition at line 262 of file coap_session_internal.h.

◆ bind_addr

coap_address_t coap_endpoint_t::bind_addr

local interface address

Definition at line 259 of file coap_session_internal.h.

◆ context

coap_context_t* coap_endpoint_t::context

endpoint's context

Definition at line 254 of file coap_session_internal.h.

◆ default_mtu

uint16_t coap_endpoint_t::default_mtu

default mtu for this interface

Definition at line 256 of file coap_session_internal.h.

◆ next

struct coap_endpoint_t* coap_endpoint_t::next

Definition at line 253 of file coap_session_internal.h.

◆ proto

coap_proto_t coap_endpoint_t::proto

protocol used on this interface

Definition at line 255 of file coap_session_internal.h.

◆ sessions

coap_session_t* coap_endpoint_t::sessions

hash table or list of active sessions

Definition at line 260 of file coap_session_internal.h.

◆ sock

coap_socket_t coap_endpoint_t::sock

socket object for the interface, if any

Definition at line 257 of file coap_session_internal.h.


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