Lines Matching defs:tcpnext
70 tcp_t *tcpnext;
86 tcpnext = NULL;
109 tcpnext = tcphash;
110 connext = tcpnext->tcp_connp;
114 while ((tcpnext = tcpp[0]) != NULL) {
115 connext = tcpnext->tcp_connp;
118 tcpp = &(tcpnext->tcp_bind_hash_port);
122 if (tcpnext != NULL) {
123 tcpnext->tcp_ptpbhn = &tcp->tcp_bind_hash_port;
124 tcphash = tcpnext->tcp_bind_hash;
128 tcpnext->tcp_bind_hash = NULL;
132 tcpnext->tcp_ptpbhn = &tcp->tcp_bind_hash_port;
133 tcphash = tcpnext->tcp_bind_hash;
137 tcpnext->tcp_bind_hash = NULL;
142 tcp->tcp_bind_hash_port = tcpnext;
156 tcp_t *tcpnext;
175 tcpnext = tcp->tcp_bind_hash_port;
176 if (tcpnext != NULL) {
178 tcpnext->tcp_ptpbhn = tcp->tcp_ptpbhn;
179 tcpnext->tcp_bind_hash = tcp->tcp_bind_hash;
180 if (tcpnext->tcp_bind_hash != NULL) {
181 tcpnext->tcp_bind_hash->tcp_ptpbhn =
182 &(tcpnext->tcp_bind_hash);
185 } else if ((tcpnext = tcp->tcp_bind_hash) != NULL) {
186 tcpnext->tcp_ptpbhn = tcp->tcp_ptpbhn;
189 *tcp->tcp_ptpbhn = tcpnext;