]> Pileus Git - ~andy/linux/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)
commit484b366932be0b73a22c74a82748ca10a721643e
treeb75afb2652456b0fbc3396f7a70f38b3378d0003
parent654bbc2a2b87185630d05b79cc0db0e9364bb7e0
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