libcoap  4.2.1
coap_session_internal.h
Go to the documentation of this file.
1 /*
2  * coap_session_internal.h -- Structures, Enums & Functions that are not
3  * exposed to application programming
4  *
5  * Copyright (C) 2010-2019 Olaf Bergmann <bergmann@tzi.org>
6  *
7  * This file is part of the CoAP library libcoap. Please see README for terms
8  * of use.
9  */
10 
16 #ifndef COAP_SESSION_INTERNAL_H_
17 #define COAP_SESSION_INTERNAL_H_
18 
33  uint16_t default_mtu;
37 };
38 
41 #endif /* COAP_SESSION_INTERNAL_H_ */
uint8_t coap_proto_t
Definition: pdu.h:339
struct coap_endpoint_t * next
multi-purpose address abstraction
Definition: address.h:62
uint16_t default_mtu
default mtu for this interface
struct coap_context_t * context
endpoint&#39;s context
Abstraction of virtual endpoint that can be attached to coap_context_t.
coap_proto_t proto
protocol used on this interface
struct coap_session_t * sessions
hash table or list of active sessions
coap_socket_t sock
socket object for the interface, if any
coap_address_t bind_addr
local interface address
The CoAP stack&#39;s global state is stored in a coap_context_t object.
Definition: net.h:147