* sohasoutofband(): protocol notifies socket layer of the arrival of new * out-of-band data, which will then notify socket consumers. */
| 3509 | * out-of-band data, which will then notify socket consumers. |
| 3510 | */ |
| 3511 | void |
| 3512 | sohasoutofband(struct socket *so) |
| 3513 | { |
| 3514 | |
| 3515 | if (so->so_sigio != NULL) |
| 3516 | pgsigio(&so->so_sigio, SIGURG, 0); |
| 3517 | selwakeuppri(&so->so_rdsel, PSOCK); |
| 3518 | } |
| 3519 | |
| 3520 | int |
| 3521 | sopoll(struct socket *so, int events, struct ucred *active_cred, |
no test coverage detected