[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:
Abtin Keshavarzian
2025-06-25 16:48:53 -07:00
committed by GitHub
parent 5b2bcee271
commit b794b28614
+11 -11
View File
@@ -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