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
761761 *
762762 * @NFTA_LIMIT_RATE: refill rate (NLA_U64)
763763 * @NFTA_LIMIT_UNIT: refill unit (NLA_U64)
764+ * @NFTA_LIMIT_BURST: burst (NLA_U32)
764765 */
765766 enum nft_limit_attributes {
766767 NFTA_LIMIT_UNSPEC,
767768 NFTA_LIMIT_RATE,
768769 NFTA_LIMIT_UNIT,
770+ NFTA_LIMIT_BURST,
769771 __NFTA_LIMIT_MAX
770772 };
771773 #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