Lines Matching refs:NULL

112 static SlNetIf_Node_t * SlNetIf_listHead = NULL;
130 if ((NULL != ifConf) && in SlNetIf_configCheck()
131 (NULL != ifConf->sockCreate) && in SlNetIf_configCheck()
132 (NULL != ifConf->sockClose) && in SlNetIf_configCheck()
133 (NULL != ifConf->sockSelect) && in SlNetIf_configCheck()
134 (NULL != ifConf->sockSetOpt) && in SlNetIf_configCheck()
135 (NULL != ifConf->sockGetOpt) && in SlNetIf_configCheck()
136 (NULL != ifConf->sockRecvFrom) && in SlNetIf_configCheck()
137 (NULL != ifConf->sockSendTo) && in SlNetIf_configCheck()
138 (NULL != ifConf->ifGetIPAddr) && in SlNetIf_configCheck()
139 (NULL != ifConf->ifGetConnectionStatus) ) in SlNetIf_configCheck()
171 SlNetIf_Node_t *prvNode = NULL; in SlNetIf_add()
172 char *allocName = NULL; in SlNetIf_add()
185 while (NULL != ifNode) in SlNetIf_add()
218 if (NULL == ifNode) in SlNetIf_add()
226 if (NULL != ifName) in SlNetIf_add()
235 if (NULL == allocName) in SlNetIf_add()
265 if (NULL != ifConf->ifCreateContext) in SlNetIf_add()
278 if (NULL == prvNode) in SlNetIf_add()
282 if (NULL != SlNetIf_listHead) in SlNetIf_add()
293 ifNode->next = NULL; in SlNetIf_add()
324 return NULL; in SlNetIf_getIfByID()
329 while (NULL != ifNode) in SlNetIf_getIfByID()
341 return NULL; in SlNetIf_getIfByID()
354 SlNetIf_t *bestPartialMatchIf = NULL; in SlNetIf_queryIf()
358 return NULL; in SlNetIf_queryIf()
364 while (NULL != ifNode) in SlNetIf_queryIf()
370 if (NULL == bestPartialMatchIf) in SlNetIf_queryIf()
412 return NULL; in SlNetIf_queryIf()
431 if (NULL == netIf) in SlNetIf_getNameByID()
434 return NULL; in SlNetIf_getNameByID()
454 if (NULL == ifName) in SlNetIf_getIDByName()
461 while (NULL != ifNode) in SlNetIf_getIDByName()
490 if (NULL == netIf) in SlNetIf_getPriority()
512 SlNetIf_Node_t *reqIfListNode = NULL; in SlNetIf_setPriority()
522 while (NULL != ifListNode) in SlNetIf_setPriority()
532 if (NULL == ifListNode->next) in SlNetIf_setPriority()
551 prvIfListNode->next = NULL; in SlNetIf_setPriority()
561 … if ( (NULL == ifListNode->next) || ((GET_IF_PRIORITY(ifListNode->next->netIf)) <= priority) ) in SlNetIf_setPriority()
605 while (NULL != ifListNode) in SlNetIf_setPriority()
636 if (NULL == ifListNode) in SlNetIf_setPriority()
640 reqIfListNode->next = NULL; in SlNetIf_setPriority()
646 if (NULL != reqIfListNode) in SlNetIf_setPriority()
670 if (NULL == netIf) in SlNetIf_setState()
706 if (NULL == netIf) in SlNetIf_getState()
733 if (NULL == netIf) in SlNetIf_getIPAddr()
773 if (NULL == netIf) in SlNetIf_getConnectionStatus()
815 if ((objName == NULL) || (strlen(objName) != objNameLen) || in SlNetIf_loadSecObj()
839 if ( (NULL != netIf) && (NULL != (netIf->ifConf)->ifLoadSecObj) ) in SlNetIf_loadSecObj()