kernel_optimize_test/net/netlabel
Huw Davies cb72d38211 netlabel: Initial support for the CALIPSO netlink protocol.
CALIPSO is a packet labelling protocol for IPv6 which is very similar
to CIPSO.  It is specified in RFC 5570.  Much of the code is based on
the current CIPSO code.

This adds support for adding passthrough-type CALIPSO DOIs through the
NLBL_CALIPSO_C_ADD command.  It requires attributes:

 NLBL_CALIPSO_A_TYPE which must be CALIPSO_MAP_PASS.
 NLBL_CALIPSO_A_DOI.

In passthrough mode the CALIPSO engine will map MLS secattr levels
and categories directly to the packet label.

At this stage, the major difference between this and the CIPSO
code is that IPv6 may be compiled as a module.  To allow for
this the CALIPSO functions are registered at module init time.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2016-06-27 15:02:46 -04:00
..
Kconfig
Makefile netlabel: Initial support for the CALIPSO netlink protocol. 2016-06-27 15:02:46 -04:00
netlabel_addrlist.c netlabel: Fix FSF address in file headers 2013-12-06 12:37:56 -05:00
netlabel_addrlist.h netlabel: Fix FSF address in file headers 2013-12-06 12:37:56 -05:00
netlabel_calipso.c netlabel: Initial support for the CALIPSO netlink protocol. 2016-06-27 15:02:46 -04:00
netlabel_calipso.h netlabel: Initial support for the CALIPSO netlink protocol. 2016-06-27 15:02:46 -04:00
netlabel_cipso_v4.c netlabel: Deletion of an unnecessary check before the function call "cipso_v4_doi_free" 2015-02-03 16:22:12 -08:00
netlabel_cipso_v4.h netlabel: Fix FSF address in file headers 2013-12-06 12:37:56 -05:00
netlabel_domainhash.c netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_domainhash.h netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_kapi.c netlabel: Initial support for the CALIPSO netlink protocol. 2016-06-27 15:02:46 -04:00
netlabel_mgmt.c netlabel: Initial support for the CALIPSO netlink protocol. 2016-06-27 15:02:46 -04:00
netlabel_mgmt.h netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_unlabeled.c netlabel: Add an address family to domain hash entries. 2016-06-27 15:02:46 -04:00
netlabel_unlabeled.h netlabel: Fix FSF address in file headers 2013-12-06 12:37:56 -05:00
netlabel_user.c netlabel: Initial support for the CALIPSO netlink protocol. 2016-06-27 15:02:46 -04:00
netlabel_user.h netlabel: Fix FSF address in file headers 2013-12-06 12:37:56 -05:00