* Returns true if the system is only using cookies at the moment. * This could be due to a sysadmin decision to only use cookies, or it * could be due to the system detecting an attack. */
| 548 | * could be due to the system detecting an attack. |
| 549 | */ |
| 550 | static inline bool |
| 551 | syncache_cookiesonly(void) |
| 552 | { |
| 553 | |
| 554 | return (V_tcp_syncookies && (V_tcp_syncache.paused || |
| 555 | V_tcp_syncookiesonly)); |
| 556 | } |
| 557 | |
| 558 | /* |
| 559 | * Find the hash bucket for the given connection. |
no outgoing calls
no test coverage detected