summaryrefslogtreecommitdiffstats
path: root/tests/py/any/meta.t.payload
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2020-03-03 09:48:30 +0000
committerFlorian Westphal <fw@strlen.de>2020-03-04 23:36:41 +0100
commit904bad2bcfa72cb197e9fe18db3c4681086000ea (patch)
treea14437eee9b287f74d6ab14036235e41756aed25 /tests/py/any/meta.t.payload
parent4ac2cd199fbae8f52d43db7c817527ba1c5dedaa (diff)
evaluate: convert the byte-order of payload statement arguments.
Since shift operations require host byte-order, we need to be able to convert the result of the shift back to network byte-order, in a rule like: nft add rule ip t c tcp dport set tcp dport lshift 1 Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/any/meta.t.payload')
0 files changed, 0 insertions, 0 deletions