Lines Matching refs:lwm2m_ctx

107 static struct lwm2m_ctx *sock_ctx[MAX_POLL_FD];
116 struct lwm2m_ctx **lwm2m_sock_ctx(void) { return sock_ctx; } in lwm2m_sock_ctx()
124 static int lwm2m_socket_update(struct lwm2m_ctx *ctx);
135 int lwm2m_open_socket(struct lwm2m_ctx *client_ctx) in lwm2m_open_socket()
162 int lwm2m_close_socket(struct lwm2m_ctx *client_ctx) in lwm2m_close_socket()
185 int lwm2m_socket_suspend(struct lwm2m_ctx *client_ctx) in lwm2m_socket_suspend()
208 int lwm2m_engine_connection_resume(struct lwm2m_ctx *client_ctx) in lwm2m_engine_connection_resume()
233 int lwm2m_push_queued_buffers(struct lwm2m_ctx *client_ctx) in lwm2m_push_queued_buffers()
254 bool lwm2m_engine_bootstrap_override(struct lwm2m_ctx *client_ctx, struct lwm2m_obj_path *path) in lwm2m_engine_bootstrap_override()
365 static int64_t retransmit_request(struct lwm2m_ctx *client_ctx, const int64_t timestamp) in retransmit_request()
534 int lwm2m_socket_add(struct lwm2m_ctx *ctx) in lwm2m_socket_add()
557 static int lwm2m_socket_update(struct lwm2m_ctx *ctx) in lwm2m_socket_update()
570 void lwm2m_socket_del(struct lwm2m_ctx *ctx) in lwm2m_socket_del()
595 static int64_t check_notifications(struct lwm2m_ctx *ctx, const int64_t timestamp) in check_notifications()
650 static void hint_socket_state(struct lwm2m_ctx *ctx, struct lwm2m_message *ongoing_tx) in hint_socket_state()
689 static int socket_recv_message(struct lwm2m_ctx *client_ctx) in socket_recv_message()
723 static int socket_send_message(struct lwm2m_ctx *ctx) in socket_send_message()
825 struct lwm2m_ctx *ctx = sock_ctx[i]; in socket_loop()
943 static int load_tls_type(struct lwm2m_ctx *client_ctx, uint16_t res_id, in load_tls_type()
985 static int lwm2m_load_psk_credentials(struct lwm2m_ctx *ctx) in lwm2m_load_psk_credentials()
1000 static int lwm2m_load_x509_credentials(struct lwm2m_ctx *ctx) in lwm2m_load_x509_credentials()
1023 int lwm2m_load_psk_credentials(struct lwm2m_ctx *ctx) in lwm2m_load_psk_credentials()
1028 int lwm2m_load_x509_credentials(struct lwm2m_ctx *ctx) in lwm2m_load_x509_credentials()
1034 static int lwm2m_load_tls_credentials(struct lwm2m_ctx *ctx) in lwm2m_load_tls_credentials()
1062 int lwm2m_set_default_sockopt(struct lwm2m_ctx *ctx) in lwm2m_set_default_sockopt()
1170 int lwm2m_socket_start(struct lwm2m_ctx *client_ctx) in lwm2m_socket_start()
1240 int lwm2m_socket_close(struct lwm2m_ctx *client_ctx) in lwm2m_socket_close()
1253 int lwm2m_engine_stop(struct lwm2m_ctx *client_ctx) in lwm2m_engine_stop()
1260 int lwm2m_engine_start(struct lwm2m_ctx *client_ctx) in lwm2m_engine_start()
1329 void lwm2m_client_lock(struct lwm2m_ctx *ctx) in lwm2m_client_lock()
1334 void lwm2m_client_unlock(struct lwm2m_ctx *ctx) in lwm2m_client_unlock()