Virtual Socket (VSocket) API. More...
Data Structures | |
struct | ARM_VSocket_Type |
Structure type to access the VSocket. More... | |
struct | vSocketCreateIO_t |
I/O structure for iotSocketCreate. More... | |
struct | vSocketBindIO_t |
I/O structure for iotSocketBind. More... | |
struct | vSocketListenIO_t |
I/O structure for iotSocketListen. More... | |
struct | vSocketAcceptIO_t |
I/O structure for iotSocketAccept. More... | |
struct | vSocketConnectIO_t |
I/O structure for iotSocketConnect. More... | |
struct | vSocketRecvIO_t |
I/O structure for iotSocketRecv. More... | |
struct | vSocketRecvFromIO_t |
I/O structure for iotSocketRecvFrom. More... | |
struct | vSocketSendIO_t |
I/O structure for iotSocketSend. More... | |
struct | vSocketSendToIO_t |
I/O structure for iotSocketSendTo. More... | |
struct | vSocketGetSockNameIO_t |
I/O structure for iotSocketGetSockName. More... | |
struct | vSocketGetPeerNameIO_t |
I/O structure for iotSocketGetPeerName. More... | |
struct | vSocketGetOptIO_t |
I/O structure for iotSocketGetOpt. More... | |
struct | vSocketSetOptIO_t |
I/O structure for iotSocketSetOpt. More... | |
struct | vSocketCloseIO_t |
I/O structure for iotSocketClose. More... | |
struct | vSocketGetHostByNameIO_t |
I/O structure for iotSocketGetHostByName. More... | |
struct | vSocketCreateIO_t.param |
arguments for iotSocketCreate More... | |
struct | vSocketBindIO_t.param |
arguments for iotSocketBind More... | |
struct | vSocketListenIO_t.param |
arguments for iotSocketListen More... | |
struct | vSocketAcceptIO_t.param |
arguments for iotSocketAccept More... | |
struct | vSocketConnectIO_t.param |
arguments for iotSocketConnect More... | |
struct | vSocketRecvIO_t.param |
arguments for iotSocketRecv More... | |
struct | vSocketRecvFromIO_t.param |
arguments for iotSocketRecvFrom More... | |
struct | vSocketSendIO_t.param |
arguments for iotSocketSend More... | |
struct | vSocketSendToIO_t.param |
arguments for iotSocketSendTo More... | |
struct | vSocketGetSockNameIO_t.param |
arguments for iotSocketGetSockName More... | |
struct | vSocketGetPeerNameIO_t.param |
arguments for iotSocketGetPeerName More... | |
struct | vSocketGetOptIO_t.param |
arguments for iotSocketGetOpt More... | |
struct | vSocketSetOptIO_t.param |
arguments for iotSocketSetOpt More... | |
struct | vSocketCloseIO_t.param |
arguments for iotSocketClose More... | |
struct | vSocketGetHostByNameIO_t.param |
arguments for iotSocketGetHostByName More... | |
Macros | |
#define | ARM_VSOCKET_BASE (0x4FEE0000UL) |
#define | ARM_VSOCKET ((ARM_VSocket_Type *)ARM_VSOCKET_BASE) |
Virtual Socket (VSocket) API.
The VSocket peripheral is accessed using the ARM_VSocket_Type structure that is mapped into the memory of a Cortex-M system, for example:
The ARM_VSocket_Type structure is defined in arm_vsocket.h file as follows:
struct ARM_VSocket_Type |
Structure type to access the VSocket.
The ARM_VSocket_Type structure provides access to the VSocket peripheral registers
Data Fields | ||
---|---|---|
volatile uint32_t | reserved | |
volatile vSocketCreateIO_t * | vSocketCreateIO |
Structure for socket create |
volatile vSocketBindIO_t * | vSocketBindIO |
Structure for socket bind |
volatile vSocketListenIO_t * | vSocketListenIO |
Structure for socket listen |
volatile vSocketAcceptIO_t * | vSocketAcceptIO |
Structure for socket accept |
volatile vSocketConnectIO_t * | vSocketConnectIO |
Structure for socket connect |
volatile vSocketRecvIO_t * | vSocketRecvIO |
Structure for socket receive |
volatile vSocketRecvFromIO_t * | vSocketRecvFromIO |
Structure for socket receive from |
volatile vSocketSendIO_t * | vSocketSendIO |
Structure for socket send |
volatile vSocketSendToIO_t * | vSocketSendToIO |
Structure for socket send to |
volatile vSocketGetSockNameIO_t * | vSocketGetSockNameIO |
Structure for get socket name |
volatile vSocketGetPeerNameIO_t * | vSocketGetPeerNameIO |
Structure for get peer name |
volatile vSocketGetOptIO_t * | vSocketGetOptIO |
Structure for socket get options |
volatile vSocketSetOptIO_t * | vSocketSetOptIO |
Structure for socket set options |
volatile vSocketCloseIO_t * | vSocketCloseIO |
Structure for socket close |
volatile vSocketGetHostByNameIO_t * | vSocketGetHostByNameIO |
Structure for socket get host by name |
struct vSocketCreateIO_t |
I/O structure for iotSocketCreate.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketCreateIO_t.param | param | arguments for iotSocketCreate |
struct vSocketBindIO_t |
I/O structure for iotSocketBind.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketBindIO_t.param | param | arguments for iotSocketBind |
struct vSocketListenIO_t |
I/O structure for iotSocketListen.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketListenIO_t.param | param | arguments for iotSocketListen |
struct vSocketAcceptIO_t |
I/O structure for iotSocketAccept.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketAcceptIO_t.param | param | arguments for iotSocketAccept |
struct vSocketConnectIO_t |
I/O structure for iotSocketConnect.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketConnectIO_t.param | param | arguments for iotSocketConnect |
struct vSocketRecvIO_t |
I/O structure for iotSocketRecv.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketRecvIO_t.param | param | arguments for iotSocketRecv |
struct vSocketRecvFromIO_t |
I/O structure for iotSocketRecvFrom.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketRecvFromIO_t.param | param | arguments for iotSocketRecvFrom |
struct vSocketSendIO_t |
I/O structure for iotSocketSend.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketSendIO_t.param | param | arguments for iotSocketSend |
struct vSocketSendToIO_t |
I/O structure for iotSocketSendTo.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketSendToIO_t.param | param | arguments for iotSocketSendTo |
struct vSocketGetSockNameIO_t |
I/O structure for iotSocketGetSockName.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketGetSockNameIO_t.param | param | arguments for iotSocketGetSockName |
struct vSocketGetPeerNameIO_t |
I/O structure for iotSocketGetPeerName.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketGetPeerNameIO_t.param | param | arguments for iotSocketGetPeerName |
struct vSocketGetOptIO_t |
I/O structure for iotSocketGetOpt.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketGetOptIO_t.param | param | arguments for iotSocketGetOpt |
struct vSocketSetOptIO_t |
I/O structure for iotSocketSetOpt.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketSetOptIO_t.param | param | arguments for iotSocketSetOpt |
struct vSocketCloseIO_t |
I/O structure for iotSocketClose.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketCloseIO_t.param | param | arguments for iotSocketClose |
struct vSocketGetHostByNameIO_t |
I/O structure for iotSocketGetHostByName.
Data Fields | ||
---|---|---|
int32_t | ret_val |
return value |
struct vSocketGetHostByNameIO_t.param | param | arguments for iotSocketGetHostByName |
struct vSocketCreateIO_t.param |
struct vSocketBindIO_t.param |
struct vSocketListenIO_t.param |
struct vSocketAcceptIO_t.param |
arguments for iotSocketAccept
struct vSocketConnectIO_t.param |
struct vSocketRecvIO_t.param |
struct vSocketRecvFromIO_t.param |
arguments for iotSocketRecvFrom
struct vSocketSendIO_t.param |
struct vSocketSendToIO_t.param |
arguments for iotSocketSendTo
struct vSocketGetSockNameIO_t.param |
arguments for iotSocketGetSockName
struct vSocketGetPeerNameIO_t.param |
arguments for iotSocketGetPeerName
struct vSocketGetOptIO_t.param |
struct vSocketSetOptIO_t.param |
struct vSocketCloseIO_t.param |
struct vSocketGetHostByNameIO_t.param |
#define ARM_VSOCKET_BASE (0x4FEE0000UL) |
VSocket Base Address
#define ARM_VSOCKET ((ARM_VSocket_Type *)ARM_VSOCKET_BASE) |
VSocket struct