Lines Matching refs:tcpnext
71 tcp_t *tcpnext;
87 tcpnext = NULL;
110 tcpnext = tcphash;
111 connext = tcpnext->tcp_connp;
115 while ((tcpnext = tcpp[0]) != NULL) {
116 connext = tcpnext->tcp_connp;
119 tcpp = &(tcpnext->tcp_bind_hash_port);
123 if (tcpnext != NULL) {
124 tcpnext->tcp_ptpbhn = &tcp->tcp_bind_hash_port;
125 tcphash = tcpnext->tcp_bind_hash;
129 tcpnext->tcp_bind_hash = NULL;
133 tcpnext->tcp_ptpbhn = &tcp->tcp_bind_hash_port;
134 tcphash = tcpnext->tcp_bind_hash;
138 tcpnext->tcp_bind_hash = NULL;
143 tcp->tcp_bind_hash_port = tcpnext;
157 tcp_t *tcpnext;
176 tcpnext = tcp->tcp_bind_hash_port;
177 if (tcpnext != NULL) {
179 tcpnext->tcp_ptpbhn = tcp->tcp_ptpbhn;
180 tcpnext->tcp_bind_hash = tcp->tcp_bind_hash;
181 if (tcpnext->tcp_bind_hash != NULL) {
182 tcpnext->tcp_bind_hash->tcp_ptpbhn =
183 &(tcpnext->tcp_bind_hash);
186 } else if ((tcpnext = tcp->tcp_bind_hash) != NULL) {
187 tcpnext->tcp_ptpbhn = tcp->tcp_ptpbhn;
190 *tcp->tcp_ptpbhn = tcpnext;