Lines Matching full:function
54 * This function is called when the socket is to be opened.
62 * This function is called when user wants to bind to local IP address.
69 * This function is called when user wants to mark the socket
75 * This function is called when user wants to create a connection
86 * This function is called when user wants to accept a connection
95 * This function is called when user wants to send data to peer host.
103 * This function is called when user wants to send data to peer host.
113 * This function is called when user wants to receive data from peer
122 * This function is called when user wants to close the socket.
133 * function.
160 * @details This is similar as BSD bind() function.
185 * @details This is similar as BSD listen() function.
208 * @details The net_context_connect function creates a network
213 * For datagram sockets (SOCK_DGRAM), this function only sets
215 * This function is similar to the BSD connect() function.
222 * @param cb Callback function. Set to NULL if not required.
224 * * K_NO_WAIT: this function will return immediately,
225 * * K_FOREVER: this function will block until the
227 * * >0: this function will wait the specified ms.
228 * @param user_data Data passed to the callback function.
255 * @details Accept a connection being established. This function
260 * If the timeout is set to K_FOREVER, the function will wait
265 * callback is called before this function will return in this case.
267 * This is similar as BSD accept() function.
272 * @param cb Caller-supplied callback function.
298 * @details This function can be used to send network data to a peer
299 * connection. This function will return immediately if the timeout
300 * is set to K_NO_WAIT. If the timeout is set to K_FOREVER, the function
305 * before this function will return in this case. The callback is not
309 * This is similar as BSD send() function.
314 * @param cb Caller-supplied callback function.
340 * @details This function can be used to send network data to a peer
342 * connections of type SOCK_DGRAM. This function will return immediately
344 * the function will wait until the network packet is sent. Timeout
348 * before this function will return. The callback is not called if the
350 * This is similar as BSD sendto() function.
358 * @param cb Caller-supplied callback function.
386 * @details This function can be used to register a callback function
388 * for this context. As this function registers a callback, then there
389 * is no need to call this function multiple times if timeout is set to
391 * If callback function or user data changes, then the function can be called
393 * This function will return immediately if the timeout is set to K_NO_WAIT.
394 * If the timeout is set to K_FOREVER, the function will wait until the
398 * the callback is called before this function will return in this case.
404 * This is similar as BSD recv() function.
409 * @param cb Caller-supplied callback function.
437 * This is similar as BSD shutdown() function.