]> git.baikalelectronics.ru Git - kernel.git/commit
NetLabel: add the ranged tag to the CIPSOv4 protocol
authorPaul Moore <paul.moore@hp.com>
Wed, 29 Nov 2006 18:18:20 +0000 (13:18 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:38 +0000 (21:31 -0800)
commit28539d6e4350b28dfae352ed86fca213511d87b1
treeb75afb2652456b0fbc3396f7a70f38b3378d0003
parentbc8cc631fbb82b3a763265bf39fb8318e167726b
NetLabel: add the ranged tag to the CIPSOv4 protocol

Add support for the ranged tag (tag type #5) to the CIPSOv4 protocol.

The ranged tag allows for seven, or eight if zero is the lowest category,
category ranges to be specified in a CIPSO option.  Each range is specified by
two unsigned 16 bit fields, each with a maximum value of 65534.  The two values
specify the start and end of the category range; if the start of the category
range is zero then it is omitted.

See Documentation/netlabel/draft-ietf-cipso-ipsecurity-01.txt for more details.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
net/ipv4/cipso_ipv4.c