* 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
| 3954 | * here will sometimes cause software-interrupt process scheduling. |
| 3955 | */ |
| 3956 | void |
| 3957 | soisconnecting(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 | |
| 3966 | void |
| 3967 | soisconnected(struct socket *so) |
no outgoing calls
no test coverage detected