* Return how much data is available to be taken out of socket * buffer right now. */
| 196 | * buffer right now. |
| 197 | */ |
| 198 | static inline u_int |
| 199 | sbavail(struct sockbuf *sb) |
| 200 | { |
| 201 | |
| 202 | #if 0 |
| 203 | SOCKBUF_LOCK_ASSERT(sb); |
| 204 | #endif |
| 205 | return (sb->sb_acc); |
| 206 | } |
| 207 | |
| 208 | /* |
| 209 | * Return how much data sits there in the socket buffer |
no outgoing calls
no test coverage detected