netlabel: Add support for querying a CALIPSO DOI.
authorHuw Davies <huw@codeweavers.com>
Mon, 27 Jun 2016 19:02:47 +0000 (15:02 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 27 Jun 2016 19:02:47 +0000 (15:02 -0400)
commita5e34490c3160e09814403d040765b0ae0003121
tree3e8cffeaa467500e092f56edf92c546468e29976
parentcb72d38211eacda2dd90b09540542b6582da614e
netlabel: Add support for querying a CALIPSO DOI.

Query a specified DOI through the NLBL_CALIPSO_C_LIST command.
It requires the attribute:
 NLBL_CALIPSO_A_DOI.

The reply will contain:
 NLBL_CALIPSO_A_MTYPE

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/net/netlabel.h
net/ipv6/calipso.c
net/netlabel/netlabel_calipso.c
net/netlabel/netlabel_calipso.h