MCPcopy Create free account
hub / github.com/F-Stack/f-stack / soisconnecting

Function soisconnecting

freebsd/kern/uipc_socket.c:3956–3964  ·  view source on GitHub ↗

* Procedures to manipulate state flags of socket and do appropriate wakeups. * * Normal sequence from the active (originating) side is that * soisconnecting() is called during processing of connect() call, resulting * in an eventual call to soisconnected() if/when the connection is * established. When the connection is torn down soisdisconnecting() is * called during processing of disconnec

Source from the content-addressed store, hash-verified

3954 * here will sometimes cause software-interrupt process scheduling.
3955 */
3956void
3957soisconnecting(struct socket *so)
3958{
3959
3960 SOCK_LOCK(so);
3961 so->so_state &= ~(SS_ISCONNECTED|SS_ISDISCONNECTING);
3962 so->so_state |= SS_ISCONNECTING;
3963 SOCK_UNLOCK(so);
3964}
3965
3966void
3967soisconnected(struct socket *so)

Callers 13

sctp_lower_sosendFunction · 0.85
sctp_do_connect_xFunction · 0.85
sctp_connectFunction · 0.85
tcp_connectFunction · 0.85
tcp6_connectFunction · 0.85
sctp6_connectFunction · 0.85
unp_connect2Function · 0.85
ng_btsocket_sco_connectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected