Home
last modified time | relevance | path

Searched refs:tinp (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/netinet/
H A Dsctp_usrreq.c7124 struct sctp_inpcb *tinp; local
7148 if (tinp && (tinp != inp) &&
7151 (SCTP_IS_LISTENING(tinp))) {
7156 SCTP_INP_DECR_REF(tinp);
7158 } else if (tinp) {
7159 SCTP_INP_DECR_REF(tinp);
7192 if (tinp && (tinp != inp) &&
7195 (SCTP_IS_LISTENING(tinp))) {
7200 SCTP_INP_DECR_REF(tinp);
7202 } else if (tinp) {
[all …]
H A Dsctp_pcb.c1846 struct sctp_inpcb *tinp, *ninp; in sctp_swap_inpcb_for_listen() local
1860 LIST_FOREACH_SAFE(tinp, head, sctp_hash, ninp) { in sctp_swap_inpcb_for_listen()
1861 if (tinp->sctp_lport != inp->sctp_lport) { in sctp_swap_inpcb_for_listen()
1864 if (tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_swap_inpcb_for_listen()
1867 if (tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_swap_inpcb_for_listen()
1870 if (SCTP_IS_LISTENING(tinp)) { in sctp_swap_inpcb_for_listen()
1873 SCTP_INP_WLOCK(tinp); in sctp_swap_inpcb_for_listen()
1874 LIST_REMOVE(tinp, sctp_hash); in sctp_swap_inpcb_for_listen()
1876 tinp->sctp_flags |= SCTP_PCB_FLAGS_IN_TCPPOOL; in sctp_swap_inpcb_for_listen()
1877 LIST_INSERT_HEAD(head, tinp, sctp_hash); in sctp_swap_inpcb_for_listen()
[all …]
H A Dsctputil.c1445 struct sctp_inpcb *tinp; in sctp_iterator_work() local
1486 tinp = it->inp; in sctp_iterator_work()
1489 SCTP_INP_RUNLOCK(tinp); in sctp_iterator_work()