History

netfilter: nft_numgen: rename until attribute by modulus

The _until_ attribute is renamed to _modulus_ as the behaviour is similar to other expresions with number limits (ex. nft_hash). Renaming is possible because there isn't a kernel release yet with these changes.

Laura Garcia Liebana committed 10 years ago

Commit 0d9932b1 parent ddb075b2 files · +17 −17Browse files

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

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+2−2
@@ -1126,13 +1126,13 @@ enum nft_trace_types { · 1125 unmodified lines
11261126 * enum nft_ng_attributes - nf_tables number generator expression netlink attributes
11271127 *
11281128 * @NFTA_NG_DREG: destination register (NLA_U32)
1129− * @NFTA_NG_UNTIL: source value to increment the counter until reset (NLA_U32)
1129+ * @NFTA_NG_MODULUS: maximum counter value (NLA_U32)
11301130 * @NFTA_NG_TYPE: operation type (NLA_U32)
11311131 */
11321132 enum nft_ng_attributes {
11331133 NFTA_NG_UNSPEC,
11341134 NFTA_NG_DREG,
1135− NFTA_NG_UNTIL,
1135+ NFTA_NG_MODULUS,
11361136 NFTA_NG_TYPE,
11371137 __NFTA_NG_MAX
11381138 };

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