Lines Matching refs:tcpnext
73 tcp_t *tcpnext; in tcp_bind_hash_insert() local
89 tcpnext = NULL; in tcp_bind_hash_insert()
112 tcpnext = tcphash; in tcp_bind_hash_insert()
113 connext = tcpnext->tcp_connp; in tcp_bind_hash_insert()
117 while ((tcpnext = tcpp[0]) != NULL) { in tcp_bind_hash_insert()
118 connext = tcpnext->tcp_connp; in tcp_bind_hash_insert()
121 tcpp = &(tcpnext->tcp_bind_hash_port); in tcp_bind_hash_insert()
125 if (tcpnext != NULL) { in tcp_bind_hash_insert()
126 tcpnext->tcp_ptpbhn = &tcp->tcp_bind_hash_port; in tcp_bind_hash_insert()
127 tcphash = tcpnext->tcp_bind_hash; in tcp_bind_hash_insert()
131 tcpnext->tcp_bind_hash = NULL; in tcp_bind_hash_insert()
135 tcpnext->tcp_ptpbhn = &tcp->tcp_bind_hash_port; in tcp_bind_hash_insert()
136 tcphash = tcpnext->tcp_bind_hash; in tcp_bind_hash_insert()
140 tcpnext->tcp_bind_hash = NULL; in tcp_bind_hash_insert()
145 tcp->tcp_bind_hash_port = tcpnext; in tcp_bind_hash_insert()
159 tcp_t *tcpnext; in tcp_bind_hash_remove() local
178 tcpnext = tcp->tcp_bind_hash_port; in tcp_bind_hash_remove()
179 if (tcpnext != NULL) { in tcp_bind_hash_remove()
181 tcpnext->tcp_ptpbhn = tcp->tcp_ptpbhn; in tcp_bind_hash_remove()
182 tcpnext->tcp_bind_hash = tcp->tcp_bind_hash; in tcp_bind_hash_remove()
183 if (tcpnext->tcp_bind_hash != NULL) { in tcp_bind_hash_remove()
184 tcpnext->tcp_bind_hash->tcp_ptpbhn = in tcp_bind_hash_remove()
185 &(tcpnext->tcp_bind_hash); in tcp_bind_hash_remove()
188 } else if ((tcpnext = tcp->tcp_bind_hash) != NULL) { in tcp_bind_hash_remove()
189 tcpnext->tcp_ptpbhn = tcp->tcp_ptpbhn; in tcp_bind_hash_remove()
192 *tcp->tcp_ptpbhn = tcpnext; in tcp_bind_hash_remove()