From: John Fastabend <john.fastab...@gmail.com>
Date: Mon, 12 Mar 2018 12:24:16 -0700

> This adds an option to test the apply_bytes helper. This option lets
> the user specify an int on the command line specifying how much data
> each verdict should apply to.
> 
> When this is set a map entry is set with the bytes input by the user
> and then the specified program --txmsg or --txmsg_redir will use the
> value and set the applied data. If no other option is set then a
> default --txmsg_apply program is run. This program will drop pkts
> if an error is detected on the bytes map lookup. Useful to verify
> the map lookup and apply helper are working and causing a hard
> error if it is not.
> 
> Signed-off-by: John Fastabend <john.fastab...@gmail.com>

Acked-by: David S. Miller <da...@davemloft.net>

Reply via email to