Home | History | Annotate | Download | only in TcpDxe

Lines Matching refs:Parent

498   SOCKET                *Parent;

502 Parent = Sock->Parent;
504 ASSERT ((Parent != NULL) && SOCK_IS_LISTENING (Parent) && SOCK_IS_CONNECTED (Sock));
506 if (!IsListEmpty (&Parent->ListenTokenList)) {
508 &Parent->ListenTokenList,
523 Parent->ConnCnt--;
527 Parent->ConnCnt)
530 Sock->Parent = NULL;
591 SOCKET *Parent;
609 Parent = SockInitData->Parent;
611 if ((Parent != NULL) && (Parent->ConnCnt == Parent->BackLog)) {
614 "SockCreate: Socket parent has reached its connection limit with %d ConnCnt and %d BackLog\n",
615 Parent->ConnCnt,
616 Parent->BackLog)
660 Sock->Parent = Parent;
705 if (Parent != NULL) {
706 ASSERT (Parent->BackLog > 0);
707 ASSERT (SOCK_IS_LISTENING (Parent));
710 // need to add it into Parent->ConnectionList
711 // if the Parent->ConnCnt < Parent->BackLog
713 Parent->ConnCnt++;
717 "SockCreate: Create a new socket and add to parent, now conncnt is %d\n",
718 Parent->ConnCnt)
721 InsertTailList (&Parent->ConnectionList, &Sock->ConnectionList);
796 // Remove it from parent connection list if needed
798 if (Sock->Parent != NULL) {
801 (Sock->Parent->ConnCnt)--;
805 "SockDestroy: Delete a unaccepted socket from parent now conncnt is %d\n",
806 Sock->Parent->ConnCnt)
809 Sock->Parent = NULL;
957 InitData.Parent = Sock;
1006 if (NULL == Sock->Parent) {
1037 if (Sock->Parent != NULL) {