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

Function uipc_shutdown

freebsd/kern/uipc_usrreq.c:1279–1292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1277}
1278
1279static int
1280uipc_shutdown(struct socket *so)
1281{
1282 struct unpcb *unp;
1283
1284 unp = sotounpcb(so);
1285 KASSERT(unp != NULL, ("uipc_shutdown: unp == NULL"));
1286
1287 UNP_PCB_LOCK(unp);
1288 socantsendmore(so);
1289 unp_shutdown(unp);
1290 UNP_PCB_UNLOCK(unp);
1291 return (0);
1292}
1293
1294static int
1295uipc_sockaddr(struct socket *so, struct sockaddr **nam)

Callers

nothing calls this directly

Calls 2

socantsendmoreFunction · 0.85
unp_shutdownFunction · 0.85

Tested by

no test coverage detected