| 1598 | } |
| 1599 | |
| 1600 | void |
| 1601 | in_pcbdisconnect(struct inpcb *inp) |
| 1602 | { |
| 1603 | |
| 1604 | INP_WLOCK_ASSERT(inp); |
| 1605 | INP_HASH_WLOCK_ASSERT(inp->inp_pcbinfo); |
| 1606 | |
| 1607 | inp->inp_faddr.s_addr = INADDR_ANY; |
| 1608 | inp->inp_fport = 0; |
| 1609 | in_pcbrehash(inp); |
| 1610 | } |
| 1611 | #endif /* INET */ |
| 1612 | |
| 1613 | /* |
no test coverage detected