History

netfilter: nft_limit: add burst parameter

This patch adds the burst parameter. This burst indicates the number of packets that can exceed the limit.

Pablo Neira Ayuso committed 11 years ago

Commit 3e87baa1 parent f8d3a6b2 files · +20 −2Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+2−0
@@ -761,11 +761,13 @@ enum nft_ct_attributes { · 760 unmodified lines
761 *761 *
762 * @NFTA_LIMIT_RATE: refill rate (NLA_U64)762 * @NFTA_LIMIT_RATE: refill rate (NLA_U64)
763 * @NFTA_LIMIT_UNIT: refill unit (NLA_U64)763 * @NFTA_LIMIT_UNIT: refill unit (NLA_U64)
764 * @NFTA_LIMIT_BURST: burst (NLA_U32)
764 */765 */
765enum nft_limit_attributes {766enum nft_limit_attributes {
766 NFTA_LIMIT_UNSPEC,767 NFTA_LIMIT_UNSPEC,
767 NFTA_LIMIT_RATE,768 NFTA_LIMIT_RATE,
768 NFTA_LIMIT_UNIT,769 NFTA_LIMIT_UNIT,
770 NFTA_LIMIT_BURST,
769 __NFTA_LIMIT_MAX771 __NFTA_LIMIT_MAX
770};772};
771#define NFTA_LIMIT_MAX (__NFTA_LIMIT_MAX - 1)773#define NFTA_LIMIT_MAX (__NFTA_LIMIT_MAX - 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t