Displaying 1 result from an estimated 1 matches for "nft_limit_pkt".
Did you mean:
  nft_limit_pkts
  
2018 Jan 10
14
[Bug 1214] New: Allow limit to use any value for time unit
...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;
            }
should read (kind of, untested):
limit_stmt        :    LIMIT    RATE    limit_mode    NUM    SLASH    STRING   
limit_burst
                {
                struct error_record *erec;
                uint64_t unit;
                erec =...