Home
last modified time | relevance | path

Searched refs:sdset (Results 1 – 2 of 2) sorted by relevance

/hal_ti-3.4.0/simplelink/source/ti/net/
Dslnetsock.c993 int32_t SlNetSock_sdsSet(int16_t sd, SlNetSock_SdSet_t *sdset) in SlNetSock_sdsSet() argument
998 if ( (NULL == sdset) || (sd >= SLNETSOCK_MAX_CONCURRENT_SOCKETS) ) in SlNetSock_sdsSet()
1008sdset->sdSetBitmap[sdArrayIndex] |= ( 1 << (sd % SLNETSOCK_SIZEOF_ONE_SDSETBITMAP_SLOT_IN_BITS) ); in SlNetSock_sdsSet()
1020 int32_t SlNetSock_sdsClr(int16_t sd, SlNetSock_SdSet_t *sdset) in SlNetSock_sdsClr() argument
1025 if ( (NULL == sdset) || (sd >= SLNETSOCK_MAX_CONCURRENT_SOCKETS) ) in SlNetSock_sdsClr()
1034sdset->sdSetBitmap[sdArrayIndex] &= ~( 1 << (sd % SLNETSOCK_SIZEOF_ONE_SDSETBITMAP_SLOT_IN_BITS) ); in SlNetSock_sdsClr()
1045 int32_t SlNetSock_sdsClrAll(SlNetSock_SdSet_t *sdset) in SlNetSock_sdsClrAll() argument
1050 if (NULL == sdset) in SlNetSock_sdsClrAll()
1057 sdArrayIndex = (((sizeof(sdset)*8)-1) / SLNETSOCK_SIZEOF_ONE_SDSETBITMAP_SLOT_IN_BITS); in SlNetSock_sdsClrAll()
1062 sdset->sdSetBitmap[sdArrayIndex] = 0; in SlNetSock_sdsClrAll()
[all …]
Dslnetsock.h1142 int32_t SlNetSock_sdsSet(int16_t sd, SlNetSock_SdSet_t *sdset);
1150 int32_t SlNetSock_sdsClr(int16_t sd, SlNetSock_SdSet_t *sdset);
1158 int32_t SlNetSock_sdsClrAll(SlNetSock_SdSet_t *sdset);
1169 int32_t SlNetSock_sdsIsSet(int16_t sd, SlNetSock_SdSet_t *sdset);