Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctp_usrreq.c7112 struct sctp_inpcb *tinp; local
7135 tinp = sctp_pcb_findep(&store.sa, 0, 0, inp->def_vrf_id);
7136 if (tinp && (tinp != inp) &&
7137 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) == 0) &&
7138 ((tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) == 0) &&
7139 (SCTP_IS_LISTENING(tinp))) {
7144 SCTP_INP_DECR_REF(tinp);
7146 } else if (tinp) {
7147 SCTP_INP_DECR_REF(tinp);
7179 tinp = sctp_pcb_findep(&store.sa, 0, 0, inp->def_vrf_id);
[all …]
H A Dsctp_pcb.c1712 struct sctp_inpcb *tinp, *ninp; in sctp_swap_inpcb_for_listen() local
1728 LIST_FOREACH_SAFE(tinp, head, sctp_hash, ninp) { in sctp_swap_inpcb_for_listen()
1729 if (tinp->sctp_lport != inp->sctp_lport) { in sctp_swap_inpcb_for_listen()
1732 if (tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_ALLGONE) { in sctp_swap_inpcb_for_listen()
1735 if (tinp->sctp_flags & SCTP_PCB_FLAGS_SOCKET_GONE) { in sctp_swap_inpcb_for_listen()
1738 if (SCTP_IS_LISTENING(tinp)) { in sctp_swap_inpcb_for_listen()
1741 SCTP_INP_WLOCK(tinp); in sctp_swap_inpcb_for_listen()
1742 LIST_REMOVE(tinp, sctp_hash); in sctp_swap_inpcb_for_listen()
1743 …head = &SCTP_BASE_INFO(sctp_tcpephash)[SCTP_PCBHASH_ALLADDR(tinp->sctp_lport, SCTP_BASE_INFO(hasht… in sctp_swap_inpcb_for_listen()
1744 tinp->sctp_flags |= SCTP_PCB_FLAGS_IN_TCPPOOL; in sctp_swap_inpcb_for_listen()
[all …]
H A Dsctputil.c1452 struct sctp_inpcb *tinp; in sctp_iterator_work() local
1493 tinp = it->inp; in sctp_iterator_work()
1496 SCTP_INP_RUNLOCK(tinp); in sctp_iterator_work()