XDK API  3.6.0
Documentation
Data Structures | Macros | Functions | Variables
socket.c File Reference
#include "simplelink.h"
#include "protocol.h"
#include "driver.h"
+ Include dependency graph for socket.c:

Data Structures

union  _SlGetSockOptMsg_u
 
union  _SlListenMsg_u
 
union  _SlRecvfromMsg_u
 
union  _SlRecvMsg_u
 
union  _SlSelectMsg_u
 
union  _SlSendMsg_u
 
union  _SlSendtoMsg_u
 
union  _SlSetSockOptMsg_u
 
union  _SlSockAcceptMsg_u
 
union  _SlSockBindMsg_u
 
union  _SlSockCloseMsg_u
 
union  _SlSockConnectMsg_u
 
union  _SlSockSocketMsg_u
 

Macros

#define SL_SOCKET_PAYLOAD_BASE   (1350)
 

Functions

static void _sl_BuildAddress (const SlSockAddr_t *addr, _SocketAddrCommand_u *pCmd)
 
_SlReturnVal_t _sl_HandleAsync_Accept (void *pVoidBuf)
 
_SlReturnVal_t _sl_HandleAsync_Connect (void *pVoidBuf)
 
_SlReturnVal_t _sl_HandleAsync_Select (void *pVoidBuf)
 
void _sl_ParseAddress (_SocketAddrResponse_u *pRsp, SlSockAddr_t *addr, SlSocklen_t *addrlen)
 
static _u16 _sl_TruncatePayloadByProtocol (const _i16 pSd, const _u16 length)
 
_u32 sl_Htonl (_u32 val)
 
_u16 sl_Htons (_u16 val)
 

Variables

static const _u8 _SlPayloadByProtocolLUT [16]
 
static const _SlCmdCtrl_t _SlRecvfomCmdCtrl
 
static const _SlCmdCtrl_t _SlSendCmdCtrl
 
static const _SlCmdCtrl_t _SlSetSockOptCmdCtrl
 

Macro Definition Documentation

#define SL_SOCKET_PAYLOAD_BASE   (1350)

Function Documentation

static void _sl_BuildAddress ( const SlSockAddr_t addr,
_SocketAddrCommand_u pCmd 
)
static
_SlReturnVal_t _sl_HandleAsync_Accept ( void *  pVoidBuf)
_SlReturnVal_t _sl_HandleAsync_Connect ( void *  pVoidBuf)
_SlReturnVal_t _sl_HandleAsync_Select ( void *  pVoidBuf)
void _sl_ParseAddress ( _SocketAddrResponse_u pRsp,
SlSockAddr_t addr,
SlSocklen_t addrlen 
)
static _u16 _sl_TruncatePayloadByProtocol ( const _i16  pSd,
const _u16  length 
)
static
_u32 sl_Htonl ( _u32  val)

+ Here is the caller graph for this function:

_u16 sl_Htons ( _u16  val)

Variable Documentation

const _u8 _SlPayloadByProtocolLUT[16]
static
Initial value:
const _SlCmdCtrl_t _SlRecvfomCmdCtrl
static
Initial value:
=
{
}
Definition: protocol.h:832
#define SL_OPCODE_SOCKET_RECVFROM
Definition: protocol.h:250
Definition: protocol.h:903
_u8 _SlArgSize_t
Definition: simplelink.h:367
const _SlCmdCtrl_t _SlSendCmdCtrl
static
Initial value:
=
{
}
Definition: protocol.h:903
#define SL_OPCODE_SOCKET_SEND
Definition: protocol.h:253
_u8 _SlArgSize_t
Definition: simplelink.h:367
const _SlCmdCtrl_t _SlSetSockOptCmdCtrl
static
Initial value:
=
{
}
Definition: protocol.h:879
#define SL_OPCODE_SOCKET_SETSOCKOPT
Definition: protocol.h:244
Definition: protocol.h:751
_u8 _SlArgSize_t
Definition: simplelink.h:367

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:47 by doxygen 1.8.8