mirror of
https://github.com/espressif/openthread.git
synced 2026-09-18 15:10:12 +00:00
[udp] remove transport pointer (#3064)
This commit is contained in:
@@ -85,12 +85,11 @@ typedef void (*otUdpReceive)(void *aContext, otMessage *aMessage, const otMessag
|
||||
*/
|
||||
typedef struct otUdpSocket
|
||||
{
|
||||
otSockAddr mSockName; ///< The local IPv6 socket address.
|
||||
otSockAddr mPeerName; ///< The peer IPv6 socket address.
|
||||
otUdpReceive mHandler; ///< A function pointer to the application callback.
|
||||
void * mContext; ///< A pointer to application-specific context.
|
||||
void * mTransport; ///< A pointer to the transport object (internal use only).
|
||||
struct otUdpSocket *mNext; ///< A pointer to the next UDP socket (internal use only).
|
||||
otSockAddr mSockName; ///< The local IPv6 socket address.
|
||||
otSockAddr mPeerName; ///< The peer IPv6 socket address.
|
||||
otUdpReceive mHandler; ///< A function pointer to the application callback.
|
||||
void * mContext; ///< A pointer to application-specific context.
|
||||
struct otUdpSocket *mNext; ///< A pointer to the next UDP socket (internal use only).
|
||||
} otUdpSocket;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user