[dpdk-dev] [PATCH] app/test/test_table_acl: fill missing field

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Apr 1 23:00:09 CEST 2016


2016-04-01 16:40, Fan Zhang:
> This patch fills the missing field of ipv4_5tuple structure in acl table
> test.

I still don't understand why it is needed.

>  struct ipv4_5tuple {
> +	uint8_t  ttl;
>  	uint8_t  proto;
> +	uint16_t checksum;
>  	uint32_t ip_src;
>  	uint32_t ip_dst;
>  	uint16_t port_src;

Adding 2 fields to a 5-tuple makes it a 7-tuple.




More information about the dev mailing list