linux/include/uapi/linux/netfilter/xt_hashlimit.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI_XT_HASHLIMIT_H
#define _UAPI_XT_HASHLIMIT_H

#include <linux/types.h>
#include <linux/limits.h>
#include <linux/if.h>

/* timings are in milliseconds. */
#define XT_HASHLIMIT_SCALE
#define XT_HASHLIMIT_SCALE_v2
/* 1/10,000 sec period => max of 10,000/sec.  Min rate is then 429490
 * seconds, or one packet every 59 hours.
 */

/* packet length accounting is done in 16-byte steps */
#define XT_HASHLIMIT_BYTE_SHIFT

/* details of this structure hidden by the implementation */
struct xt_hashlimit_htable;

enum {};

struct hashlimit_cfg {};

struct xt_hashlimit_info {};

struct hashlimit_cfg1 {};

struct hashlimit_cfg2 {};

struct hashlimit_cfg3 {};

struct xt_hashlimit_mtinfo1 {};

struct xt_hashlimit_mtinfo2 {};

struct xt_hashlimit_mtinfo3 {};

#endif /* _UAPI_XT_HASHLIMIT_H */