te_conp
TL_REMOVE_PEER(tep->te_conp);
tep->te_conp = NULL;
tl_endpt_t *peer_tep = tep->te_conp;
tl_endpt_t *peer_tep = tep->te_conp;
((peer_tep = tep->te_conp) != NULL) &&
ASSERT(cl_ep->te_conp == NULL);
ASSERT(acc_ep->te_conp == NULL);
cl_ep->te_conp = acc_ep;
acc_ep->te_conp = cl_ep;
tl_endpt_t *peer_tep = tep->te_conp;
TL_UNCONNECT(tep->te_conp);
} else if ((peer_tep = tep->te_conp) != NULL) { /* connected! */
if (tep->te_conp) { /* disconnect pointers if connected */
ASSERT(peer_tep != NULL && peer_tep->te_conp != NULL);
TL_UNCONNECT(peer_tep->te_conp);
TL_UNCONNECT(tep->te_conp);
tl_endpt_t *peer_tep = tep->te_conp;
if (tep->te_conp != NULL)
if (tep->te_conp == NULL) {
if (((peer_tep = tep->te_conp) == NULL) || peer_tep->te_closing) {
if (tep->te_conp != NULL)
if (tep->te_conp == NULL) {
if (((peer_tep = tep->te_conp) == NULL) || peer_tep->te_closing) {
if (tep->te_conp != NULL)
if (((peer_tep = tep->te_conp) == NULL) || peer_tep->te_closing) {
tl_endpt_t *peer_tep = tep->te_conp;
TL_UNCONNECT(tep->te_conp);
if ((peer_tep = tep->te_conp) != NULL) {
TL_REMOVE_PEER(peer_tep->te_conp);
TL_REMOVE_PEER(tep->te_conp);