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
29
struct
coap_endpoint_t
{
30
struct
coap_endpoint_t
*
next
;
31
struct
coap_context_t
*
context
;
32
coap_proto_t
proto
;
33
uint16_t
default_mtu
;
34
coap_socket_t
sock
;
35
coap_address_t
bind_addr
;
36
struct
coap_session_t
*
sessions
;
37
};
38
41
#endif
/* COAP_SESSION_INTERNAL_H_ */
coap_session_t
Definition:
coap_session.h:59
coap_proto_t
uint8_t coap_proto_t
Definition:
pdu.h:339
coap_endpoint_t::next
struct coap_endpoint_t * next
Definition:
coap_session_internal.h:30
coap_socket_t
Definition:
coap_io.h:54
coap_address_t
multi-purpose address abstraction
Definition:
address.h:62
coap_endpoint_t::default_mtu
uint16_t default_mtu
default mtu for this interface
Definition:
coap_session_internal.h:33
coap_endpoint_t::context
struct coap_context_t * context
endpoint's context
Definition:
coap_session_internal.h:31
coap_endpoint_t
Abstraction of virtual endpoint that can be attached to coap_context_t.
Definition:
coap_session_internal.h:29
coap_endpoint_t::proto
coap_proto_t proto
protocol used on this interface
Definition:
coap_session_internal.h:32
coap_endpoint_t::sessions
struct coap_session_t * sessions
hash table or list of active sessions
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:34
coap_endpoint_t::bind_addr
coap_address_t bind_addr
local interface address
Definition:
coap_session_internal.h:35
coap_context_t
The CoAP stack's global state is stored in a coap_context_t object.
Definition:
net.h:147
include
coap2
coap_session_internal.h
Generated on Tue Nov 5 2019 14:15:42 for libcoap by
1.8.13