Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
Diff: core/uip/NyLPC_cBaseSocket.h
- Revision:
- 57:bc4330dfa62f
- Parent:
- 41:2389bd6b6f74
--- a/core/uip/NyLPC_cBaseSocket.h Sat Aug 10 02:52:22 2013 +0000
+++ b/core/uip/NyLPC_cBaseSocket.h Fri Sep 13 06:38:16 2013 +0000
@@ -30,6 +30,7 @@
#endif /* __cplusplus */
#include "NyLPC_stdlib.h"
+#include "NyLPC_cIPv4_typedef.h"
/**
* Base socket class
@@ -44,9 +45,13 @@
struct NyLPC_TcBaseSocket
{
/**タイプID 継承クラスのinitializerで設定。 */
- NyLPC_TUInt32 _typeid;
+ NyLPC_TUInt8 _typeid;
+ NyLPC_TUInt8 _padding8;
+ NyLPC_TUInt16 _padding16;
+ /** 所属してるIPv4コンローラ*/
+ NyLPC_TcIPv4_t* _parent_ipv4;
};
-#define NyLPC_cBaseSocket_initialize(i_inst,i_typeid) ((i_inst)->_typeid=i_typeid)
+void NyLPC_cBaseSocket_initialize(NyLPC_TcBaseSocket_t* i_inst,NyLPC_TUInt8 i_typeid);
#define NyLPC_cBaseSocket_finalize(i_inst)
MiMic Webservice library