Lines Matching refs:tinp
1871 struct sctp_inpcb *tinp, *ninp;
1885 LIST_FOREACH_SAFE(tinp, head, sctp_hash, ninp) {
1886 if (tinp->sctp_lport != inp->sctp_lport) {
1889 if (tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) {
1892 if (tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) {
1895 if (SCTP_IS_LISTENING(tinp)) {
1898 SCTP_INP_WLOCK(tinp);
1899 LIST_REMOVE(tinp, sctp_hash);
1900 head = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR(tinp->sctp_lport, SCTP_BASE_INFO(hashtcpmark))];
1901 tinp->sctp_flags |= SCTP_PCB_FLAGS_IN_TCPPOOL;
1902 LIST_INSERT_HEAD(head, tinp, sctp_hash);
1903 SCTP_INP_WUNLOCK(tinp);