From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2-next] ip-xfrm: Add support for OUTPUT_MARK Date: Mon, 11 Jun 2018 20:12:59 -0700 Message-ID: <20180611201259.0fc206d0@xeon-e3> References: <1528769493-25435-1-git-send-email-subashab@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: lorenzo@google.com, netdev@vger.kernel.org, dsahern@gmail.com To: Subash Abhinov Kasiviswanathan Return-path: Received: from mail-pl0-f65.google.com ([209.85.160.65]:44386 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935193AbeFLDNC (ORCPT ); Mon, 11 Jun 2018 23:13:02 -0400 Received: by mail-pl0-f65.google.com with SMTP id z9-v6so13498409plk.11 for ; Mon, 11 Jun 2018 20:13:02 -0700 (PDT) In-Reply-To: <1528769493-25435-1-git-send-email-subashab@codeaurora.org> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 11 Jun 2018 20:11:33 -0600 Subash Abhinov Kasiviswanathan wrote: > This patch adds support for OUTPUT_MARK in xfrm state to exercise the > functionality added by kernel commit 077fbac405bf > ("net: xfrm: support setting an output mark."). > > Sample output with output-mark - > > src 192.168.1.1 dst 192.168.1.2 > proto esp spi 0x00004321 reqid 0 mode tunnel > replay-window 0 flag af-unspec > auth-trunc xcbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b211 96 > enc cbc(aes) 0x3ed0af408cf5dcbf5d5d9a5fa806b233 > anti-replay context: seq 0x0, oseq 0x0, bitmap 0x00000000 > output-mark 0x20000 > > Signed-off-by: Subash Abhinov Kasiviswanathan This reminds me. It is time to convert xfrm to json output.