search for: limit_burst

Displaying 1 result from an estimated 1 matches for "limit_burst".

2018 Jan 10
14
[Bug 1214] New: Allow limit to use any value for time unit
...*unit = (unsigned long long)strtol(str, NULL, 10); else return error(loc, "Wrong rate format"); return NULL; } The bison code should also be modified to allow number here: limit_stmt : LIMIT RATE limit_mode NUM SLASH time_unit limit_burst { $$ = limit_stmt_alloc(&@$); $$->limit.rate = $4; $$->limit.unit = $6; $$->limit.burst = $7; $$->limit.type = NFT_LIMIT_PKTS; $$->limit.flags = $3;...