Lines Matching refs:timeout
121 u32 timeout;
198 u32 elements; /* Number of elements vs timeout */
271 /* Default timeout value, if enabled */
272 u32 timeout;
273 /* Number of elements (vs timeout) */
275 /* Size of the dynamic extensions (vs timeout) */
451 /* Timeout period depending on the timeout value of the given set */
452 #define IPSET_GC_PERIOD(timeout) \
453 ((timeout/3) ? min_t(u32, (timeout)/3, IPSET_GC_TIME) : 1)
455 /* Entry is set with no timeout value */
458 /* Set is defined with timeout support: timeout value may be 0 */
461 /* Max timeout value, see msecs_to_jiffies() in jiffies.h */
465 ((opt)->ext.timeout != IPSET_NO_TIMEOUT ? (opt)->ext.timeout : (set)->timeout)
470 unsigned int timeout = ip_set_get_h32(tb);
473 if (timeout > IPSET_MAX_TIMEOUT)
474 timeout = IPSET_MAX_TIMEOUT;
476 return timeout;
486 ip_set_timeout_set(unsigned long *timeout, u32 value)
491 *timeout = IPSET_ELEM_PERMANENT;
499 *timeout = t;
534 .timeout = ip_set_adt_opt_timeout(opt, set) }
538 .timeout = (set)->timeout }