diff options
author | Phil Sutter <phil@nwl.cc> | 2020-10-27 17:05:25 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2020-11-04 14:44:02 +0100 |
commit | 8a927c56d83ed0f78785011bd92a53edc25a0ca0 (patch) | |
tree | ca0858a00457cefcc3e636b0b102990250e51e0a /tests/py/ip/icmp.t.json.output | |
parent | a51a0bec1f698b9980a266e2393d3f80596bbae0 (diff) |
src: Support odd-sized payload matches
When expanding a payload match, don't disregard oversized templates at
the right offset. A more flexible user may extract less bytes from the
packet if only parts of a field are interesting, e.g. only the prefix of
source/destination address. Support that by using the template, but fix
the length. Later when creating a relational expression for it, detect
the unusually small payload expression length and turn the RHS value
into a prefix expression.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests/py/ip/icmp.t.json.output')
0 files changed, 0 insertions, 0 deletions