app/procinfo: add crypto security context info
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 24 Sep 2020 05:34:32 +0000 (22:34 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 19 Oct 2020 22:43:30 +0000 (00:43 +0200)
commitd82d6ac64338967c09fe5d242d633615db074c36
tree2c5db39fb50db93d5f087848be930eb7e3943ae8
parentacc97611520638bc3835f1852c8a181d466d256b
app/procinfo: add crypto security context info

If crypto context is not present, no point in displaying it.

This patch adds the crypto based security context info.
Also improve the flag printing to SECURITY OFFLOAD from
INLINE.

Use common code for displaying crypto context information
when doing show_ports and show_crypto.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
app/proc-info/main.c