Re: [PATCH 3/3] NetLabel: add the ranged tag to the CIPSOv4 protocol

2006-11-29 Thread James Morris
On Wed, 29 Nov 2006, [EMAIL PROTECTED] wrote: > +{ > + /* The constant '16' is not random, it is the maximum number of > + * high/low category range pairs as permitted by the CIPSO draft based > + * on a maximum IPv4 header length of 60 bytes - the BUG_ON() assertion > + * does

[PATCH 3/3] NetLabel: add the ranged tag to the CIPSOv4 protocol

2006-11-29 Thread paul . moore
From: Paul Moore <[EMAIL PROTECTED]> 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