Re: [libnftnl PATCH] expr: queue: Use snprintf and SNPRINTF_BUFFER_SIZE in snprintf_default functions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 16, 2014 at 11:06:37AM +0200, Ana Rey wrote:
> Code refactoring to use snprintf and SNPRINTF_BUFFER_SIZE in
> snprintf_default functions. Also, It adapts to the next syntax in queue
> (Added in
> http://git.netfilter.org/nftables/commit/?id=27619ffbe503ed4d9e59a02e81db9a7ac49d37af)
> 
> Here, some examples:
> 
> ip test input 31
>   [ queue num 3-5 bypass fanout]
> 
> ip test input 32 31
>   [ queue num 0]
> 
> ip test input 33 32
>   [ queue num 4]
> 
> ip test input 34 33
>   [ queue num 2-6 bypass]
> 
> table ip test {
> 	chain input {
> 		 type filter hook input priority 0;
> 		 queue num 3-5 bypass fanout
> 		 queue num 0
> 		 queue num 4
> 		 queue num 2-6 bypass
> 	}
> }

Applied, thanks Ana.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux