libcoap  4.3.0rc1
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 
34  uint16_t default_mtu;
38 };
39 
42 #endif /* COAP_SESSION_INTERNAL_H_ */
uint8_t coap_proto_t
Definition: pdu.h:345
multi-purpose address abstraction
Definition: address.h:94
The CoAP stack's global state is stored in a coap_context_t object.
Definition: net.h:150
Abstraction of virtual endpoint that can be attached to coap_context_t.
struct coap_context_t * context
endpoint's context
uint16_t default_mtu
default mtu for this interface
struct coap_session_t * sessions
hash table or list of active sessions
struct coap_endpoint_t * next
coap_address_t bind_addr
local interface address
coap_socket_t sock
socket object for the interface, if any
coap_proto_t proto
protocol used on this interface