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

Function sohasoutofband

freebsd/kern/uipc_socket.c:3511–3518  ·  view source on GitHub ↗

* sohasoutofband(): protocol notifies socket layer of the arrival of new * out-of-band data, which will then notify socket consumers. */

Source from the content-addressed store, hash-verified

3509 * out-of-band data, which will then notify socket consumers.
3510 */
3511void
3512sohasoutofband(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
3520int
3521sopoll(struct socket *so, int events, struct ucred *active_cred,

Callers 1

tcp_do_segmentFunction · 0.85

Calls 2

selwakeuppriFunction · 0.85
pgsigioFunction · 0.70

Tested by

no test coverage detected