• Paul Moore's avatar
    NetLabel: add the ranged tag to the CIPSOv4 protocol · 484b3669
    Paul Moore authored
    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: default avatarPaul Moore <paul.moore@hp.com>
    Signed-off-by: default avatarJames Morris <jmorris@namei.org>
    484b3669
cipso_ipv4.c 52 KB