]> git.proxmox.com Git - mirror_iproute2.git/commit
ip xfrm: support printing XFRMA_SET_MARK_MASK attribute in states
authorAntony Antony <antony@phenome.org>
Fri, 28 Aug 2020 14:59:07 +0000 (16:59 +0200)
committerDavid Ahern <dsahern@gmail.com>
Wed, 2 Sep 2020 01:49:29 +0000 (19:49 -0600)
commitaf27494d2e1eb0bda57d0f24c33e346b8f4cbd76
tree0d94f4b5bb96ab604989af3ebfdfafa95f675f61
parent275eed9be56d641cea06aced9692acdabd49d336
ip xfrm: support printing XFRMA_SET_MARK_MASK attribute in states

The XFRMA_SET_MARK_MASK attribute is set in states (4.19+).
It is the mask of XFRMA_SET_MARK(a.k.a. XFRMA_OUTPUT_MARK in 4.18)

sample output: note the output-mark mask
ip xfrm state
src 192.1.2.23 dst 192.1.3.33
proto esp spi 0xSPISPI reqid REQID mode tunnel
replay-window 32 flag af-unspec
output-mark 0x3/0xffffff
aead rfc4106(gcm(aes)) 0xENCAUTHKEY 128
if_id 0x1

Signed-off-by: Antony Antony <antony@phenome.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/ipxfrm.c