Lines Matching full:network
2 * @brief Network context definitions
4 * An API for applications to define a network connection.
18 * @brief Application network context
19 * @defgroup net_context Application network context
81 * @brief Network data receive callback.
83 * @details The recv callback is called after a network data packet is
89 * @param pkt Network buffer that is received. If the pkt is not NULL,
108 * @brief Network data send callback.
110 * @details The send callback is called after a network data packet is sent.
203 * because the address is already set in the network interface struct.
224 /** Local endpoint address. Note that the values are in network byte
229 /** Remote endpoint address. Note that the values are in network byte
305 /** Priority of the network data sent via this net_context */
369 /** Receive network packet information in recvmsg() call */
382 * IPv6 multicast output network interface for this context/socket.
388 * IPv4 multicast output network interface for this context/socket.
407 /** Network interface assigned to this context */
432 * @param context Network context.
444 * @brief Is this context bound to a network interface.
446 * @param context Network context.
448 * @return True if the context is bound to network interface, False otherwise.
460 * @param context Network context.
474 * @param context Network context.
492 * @param context Network context.
506 * @param context Network context.
529 * @brief Get state for this network context.
533 * @param context Network context.
535 * @return Network state.
548 * @brief Set state for this network context.
552 * @param context Network context.
553 * @param state New network context state.
566 * @brief Get address family for this network context.
571 * @param context Network context.
573 * @return Network state.
583 * @brief Set address family for this network context.
588 * @param context Network context.
608 * @brief Get context type for this network context.
613 * @param context Network context.
615 * @return Network context type.
626 * @brief Set context type for this network context.
631 * @param context Network context.
650 * @brief Set CAN filter id for this network context.
654 * @param context Network context.
675 * @brief Get CAN filter id for this network context.
679 * @param context Network context.
681 * @return Filter id of this network context
700 * @brief Get context IP protocol for this network context.
705 * @param context Network context.
707 * @return Network context IP protocol.
715 * @brief Set context IP protocol for this network context.
720 * @param context Network context.
731 * @brief Get network interface for this context.
733 * @details This function returns the used network interface.
735 * @param context Network context.
737 * @return Context network interface if context is bind to interface,
749 * @brief Set network interface for this context.
751 * @details This function binds network interface to this context.
753 * @param context Network context.
754 * @param iface Network interface.
765 * @brief Bind network interface to this context.
767 * @details This function binds network interface to this context.
769 * @param context Network context.
770 * @param iface Network interface.
787 * @param context Network context.
802 * @param context Network context.
817 * @param context Network context.
832 * @param context Network context.
847 * @param context Network context.
861 * @param context Network context.
876 * @param context Network context.
891 * @param context Network context.
906 * @param context Network context.
930 * @param context Network context.
948 * @brief Get network context.
950 * @details Network context is used to define the connection 5-tuple
970 * @brief Close and unref a network context.
987 * @details Network contexts are not recycled until their reference
999 * @brief Decrement the reference count to a network context
1003 * network-visible "close" behavior (i.e. future packets to this
1016 * @param context Network context for a connection
1017 * @param pkt Network packet
1041 * @param context Network context for a connection
1042 * @param pkt Network packet
1096 * @brief Create a network connection.
1098 * @details The net_context_connect function creates a network
1107 * @param context The network context.
1131 * @brief Accept a network connection attempt.
1163 * @details This function can be used to send network data to a peer
1164 * connection. After the network buffer is sent, a caller-supplied
1170 * @param context The network context to use.
1189 * @details This function can be used to send network data to a peer
1191 * connections of type SOCK_DGRAM. After the network buffer is sent,
1196 * @param context The network context to use.
1222 * After the network buffer is sent, a caller-supplied callback is called.
1225 * @param context The network context to use.
1242 * @brief Receive network data from a peer specified by context.
1245 * that is called by the network stack when network data has been received
1253 * network buffer is received. Timeout value > 0 will wait as many ms.
1254 * After the network buffer is received, a caller-supplied callback is
1269 * @param context The network context to use.
1296 * @param context The TCP network context to use.
1305 /** @brief Network context options. These map to BSD socket option values. */
1325 NET_OPT_MCAST_IFINDEX = 19, /**< IPv6 multicast output network interface index */
1333 * @param context The network context to use.
1347 * @param context The network context to use.
1360 * @brief Callback used while iterating over network contexts
1362 * @param context A valid pointer on current network context
1368 * @brief Go through all the network connections and call callback
1369 * for each network context.
1377 * @brief Set custom network buffer pools for context send operations
1379 * Set custom network buffer pools used by the IP stack to allocate
1380 * network buffers used by the context when sending data to the
1381 * network. Using dedicated buffers may help make send operations on
1383 * starvation due to operations on other network contexts. Buffer pools
1390 * to the caller. The TX pool is used when sending data to network.
1391 * There is one TX net_pkt for each network packet that is sent.
1394 * the network.
1418 * @param local_addr the network address