| 1277 | } |
| 1278 | |
| 1279 | static int |
| 1280 | uipc_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 | |
| 1294 | static int |
| 1295 | uipc_sockaddr(struct socket *so, struct sockaddr **nam) |
nothing calls this directly
no test coverage detected