Lines Matching full:a
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
63 * Represents a UDP receiver.
67 struct otUdpReceiver *mNext; ///< A pointer to the next UDP receiver (internal use only).
68 otUdpHandler mHandler; ///< A function pointer to the receiver callback.
69 void *mContext; ///< A pointer to application-specific context.
73 * Adds a UDP receiver.
75 * @param[in] aInstance A pointer to an OpenThread instance.
76 * @param[in] aUdpReceiver A pointer to the UDP receiver.
84 * Removes a UDP receiver.
86 * @param[in] aInstance A pointer to an OpenThread instance.
87 * @param[in] aUdpReceiver A pointer to the UDP receiver.
95 * Sends a UDP message without socket.
97 * @param[in] aInstance A pointer to an OpenThread instance.
98 * @param[in] aMessage A pointer to a message without UDP header.
99 * @param[in] aMessageInfo A pointer to a message info associated with @p aMessage.
108 * This callback allows OpenThread to inform the application of a received UDP message.
124 * Represents a UDP socket.
130 otUdpReceive mHandler; ///< A function pointer to the application callback.
131 void *mContext; ///< A pointer to application-specific context.
132 void *mHandle; ///< A handle to platform's UDP.
133 struct otUdpSocket *mNext; ///< A pointer to the next UDP socket (internal use only).
138 * Allocate a new message buffer for sending a UDP message.
143 * @param[in] aInstance A pointer to an OpenThread instance.
144 * @param[in] aSettings A pointer to the message settings or NULL to use default settings.
146 …* @returns A pointer to the message buffer or NULL if no message buffers are available or paramete…
153 * Open a UDP/IPv6 socket.
155 * @param[in] aInstance A pointer to an OpenThread instance.
156 * @param[in] aSocket A pointer to a UDP socket structure.
157 * @param[in] aCallback A pointer to the application callback function.
158 * @param[in] aContext A pointer to application-specific context.
166 * Check if a UDP socket is open.
168 * @param[in] aInstance A pointer to an OpenThread instance.
169 * @param[in] aSocket A pointer to a UDP socket structure.
176 * Close a UDP/IPv6 socket.
178 * @param[in] aInstance A pointer to an OpenThread instance.
179 * @param[in] aSocket A pointer to a UDP socket structure.
187 * Bind a UDP/IPv6 socket.
189 * @param[in] aInstance A pointer to an OpenThread instance.
190 * @param[in] aSocket A pointer to a UDP socket structure.
191 * @param[in] aSockName A pointer to an IPv6 socket address structure.
200 * Connect a UDP/IPv6 socket.
202 * @param[in] aInstance A pointer to an OpenThread instance.
203 * @param[in] aSocket A pointer to a UDP socket structure.
204 * @param[in] aSockName A pointer to an IPv6 socket address structure.
212 * Send a UDP/IPv6 message.
214 * @param[in] aInstance A pointer to an OpenThread instance.
215 * @param[in] aSocket A pointer to a UDP socket structure.
216 * @param[in] aMessage A pointer to a message buffer.
217 * @param[in] aMessageInfo A pointer to a message info structure.
232 * @param[in] aInstance A pointer to an OpenThread instance.
234 * @returns A pointer to the head of UDP Socket linked list.
257 * @param[in] aMessage A pointer to the UDP Message.
259 * @param[in] aPeerAddr A pointer to the destination IPv6 address.
261 * @param[in] aContext A pointer to application-specific context.
272 * @param[in] aInstance A pointer to an OpenThread instance.
273 * @param[in] aForwarder A pointer to a function called to forward UDP packet to host.
274 * @param[in] aContext A pointer to application-specific context.
279 * Handle a UDP packet received from host.
281 * @param[in] aInstance A pointer to an OpenThread instance.
282 * @param[in] aMessage A pointer to the UDP Message.
284 * @param[in] aPeerAddr A pointer to the source address.
298 * @param[in] aInstance A pointer to an OpenThread instance.