mirror of
https://github.com/espressif/openthread.git
synced 2026-08-13 06:07:48 +00:00
[posix] reorder declarations in MdnsSocket (#11639)
This commit rearranges the method and member variable declarations in the `Posix::MdnsSocket` class to follow the recommended order, i.e., methods before member variables.
This commit is contained in:
@@ -125,17 +125,6 @@ private:
|
||||
uint16_t mIp4Port;
|
||||
};
|
||||
|
||||
bool mEnabled;
|
||||
uint32_t mInfraIfIndex;
|
||||
int mFd4;
|
||||
int mFd6;
|
||||
uint32_t mPendingIp6Tx;
|
||||
uint32_t mPendingIp4Tx;
|
||||
otMessageQueue mTxQueue;
|
||||
otIp6Address mMulticastIp6Address;
|
||||
otIp4Address mMulticastIp4Address;
|
||||
otInstance *mInstance;
|
||||
|
||||
otError Enable(uint32_t aInfraIfIndex);
|
||||
void Disable(uint32_t aInfraIfIndex);
|
||||
void ClearTxQueue(void);
|
||||
@@ -163,6 +152,17 @@ private:
|
||||
const void *aValue,
|
||||
uint32_t aValueLength,
|
||||
const char *aOptionName);
|
||||
|
||||
bool mEnabled;
|
||||
uint32_t mInfraIfIndex;
|
||||
int mFd4;
|
||||
int mFd6;
|
||||
uint32_t mPendingIp6Tx;
|
||||
uint32_t mPendingIp4Tx;
|
||||
otMessageQueue mTxQueue;
|
||||
otIp6Address mMulticastIp6Address;
|
||||
otIp4Address mMulticastIp4Address;
|
||||
otInstance *mInstance;
|
||||
};
|
||||
|
||||
} // namespace Posix
|
||||
|
||||
Reference in New Issue
Block a user