Lines Matching full:context

42  * @brief Calculates and returns the MSS for a given TCP context
44 * @param tcp TCP context
61 * @brief Obtains the state for a TCP context
63 * @param tcp TCP context
96 * @brief Initialize TCP parts of a context
98 * @param context Network context
103 int net_tcp_get(struct net_context *context);
105 static inline int net_tcp_get(struct net_context *context) in net_tcp_get() argument
107 ARG_UNUSED(context); in net_tcp_get()
116 * @param context Network context
128 int net_tcp_connect(struct net_context *context,
137 static inline int net_tcp_connect(struct net_context *context, in net_tcp_connect() argument
144 ARG_UNUSED(context); in net_tcp_connect()
159 * @param context Network context
161 * @return 0 if successful, -EOPNOTSUPP if the context was not for TCP,
165 int net_tcp_listen(struct net_context *context);
167 static inline int net_tcp_listen(struct net_context *context) in net_tcp_listen() argument
169 ARG_UNUSED(context); in net_tcp_listen()
178 * @param context Network context
185 int net_tcp_accept(struct net_context *context, net_tcp_accept_cb_t cb,
188 static inline int net_tcp_accept(struct net_context *context, in net_tcp_accept() argument
191 ARG_UNUSED(context); in net_tcp_accept()
202 * @param context TCP context
209 int net_tcp_send_data(struct net_context *context, net_context_send_cb_t cb,
212 static inline int net_tcp_send_data(struct net_context *context, in net_tcp_send_data() argument
216 ARG_UNUSED(context); in net_tcp_send_data()
227 * @param context Network context
234 int net_tcp_recv(struct net_context *context, net_context_recv_cb_t cb,
237 static inline int net_tcp_recv(struct net_context *context, in net_tcp_recv() argument
240 ARG_UNUSED(context); in net_tcp_recv()
292 * @param context Network context
300 int net_tcp_queue(struct net_context *context, const void *data, size_t len,
303 static inline int net_tcp_queue(struct net_context *context, const void *data, in net_tcp_queue() argument
306 ARG_UNUSED(context); in net_tcp_queue()
318 * @param context Network context
321 * @return 0 on success, -EPROTOTYPE if there is no TCP context, -EINVAL
326 int net_tcp_update_recv_wnd(struct net_context *context, int32_t delta);
328 static inline int net_tcp_update_recv_wnd(struct net_context *context, in net_tcp_update_recv_wnd() argument
331 ARG_UNUSED(context); in net_tcp_update_recv_wnd()
341 * @param context Network context
349 int net_tcp_put(struct net_context *context);
351 static inline int net_tcp_put(struct net_context *context) in net_tcp_put() argument
353 ARG_UNUSED(context); in net_tcp_put()
370 * @param context Network context
375 int net_tcp_set_option(struct net_context *context,
379 static inline int net_tcp_set_option(struct net_context *context, in net_tcp_set_option() argument
383 ARG_UNUSED(context); in net_tcp_set_option()
396 * @param context Network context
401 int net_tcp_get_option(struct net_context *context,
405 static inline int net_tcp_get_option(struct net_context *context, in net_tcp_get_option() argument
409 ARG_UNUSED(context); in net_tcp_get_option()
422 * @param context Network context
426 struct k_sem *net_tcp_tx_sem_get(struct net_context *context);
431 * @param context Network context
435 struct k_sem *net_tcp_conn_sem_get(struct net_context *context);
454 * @param context Network context