libcoap
4.3.0beta
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
30
struct
coap_endpoint_t
{
31
struct
coap_endpoint_t
*
next
;
32
struct
coap_context_t
*
context
;
33
coap_proto_t
proto
;
34
uint16_t
default_mtu
;
35
coap_socket_t
sock
;
36
coap_address_t
bind_addr
;
37
struct
coap_session_t
*
sessions
;
38
};
39
42
#endif
/* COAP_SESSION_INTERNAL_H_ */
coap_proto_t
uint8_t coap_proto_t
Definition:
pdu.h:339
coap_address_t
multi-purpose address abstraction
Definition:
address.h:94
coap_context_t
The CoAP stack's global state is stored in a coap_context_t object.
Definition:
net.h:141
coap_endpoint_t
Abstraction of virtual endpoint that can be attached to coap_context_t.
Definition:
coap_session_internal.h:30
coap_endpoint_t::context
struct coap_context_t * context
endpoint's context
Definition:
coap_session_internal.h:32
coap_endpoint_t::default_mtu
uint16_t default_mtu
default mtu for this interface
Definition:
coap_session_internal.h:34
coap_endpoint_t::sessions
struct coap_session_t * sessions
hash table or list of active sessions
Definition:
coap_session_internal.h:37
coap_endpoint_t::next
struct coap_endpoint_t * next
Definition:
coap_session_internal.h:31
coap_endpoint_t::bind_addr
coap_address_t bind_addr
local interface address
Definition:
coap_session_internal.h:36
coap_endpoint_t::sock
coap_socket_t sock
socket object for the interface, if any
Definition:
coap_session_internal.h:35
coap_endpoint_t::proto
coap_proto_t proto
protocol used on this interface
Definition:
coap_session_internal.h:33
coap_session_t
Definition:
cov_session_reference_model.c:5
coap_socket_t
Definition:
coap_io.h:53
include
coap2
coap_session_internal.h
Generated on Fri Feb 19 2021 15:14:52 for libcoap by
1.9.1