Module radius::core::rfc4675[][src]

Utility for rfc4675 packet.

This module handles the packet according to the following definition:

//! # -*- text -*-
# Copyright (C) 2020 The FreeRADIUS Server project and contributors
# This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0
# Version $Id$
#
#	Attributes and values defined in RFC 4675.
#	http://www.ietf.org/rfc/rfc4675.txt
#
#	$Id$
#

#
#  High byte = '1' (0x31) means the frames are tagged.
#  High byte = '2' (0x32) means the frames are untagged.
#
#  Next 12 bits MUST be zero.
#
#  Lower 12 bits is the IEEE-802.1Q VLAN VID.
#
ATTRIBUTE	Egress-VLANID				56	integer
ATTRIBUTE	Ingress-Filters				57	integer

#
#  First byte == '1' (0x31) means that the frames are tagged.
#  First byte == '2' (0x32) means that the frames are untagged.
#
ATTRIBUTE	Egress-VLAN-Name			58	string
ATTRIBUTE	User-Priority-Table			59	octets

VALUE	Ingress-Filters			Enabled			1
VALUE	Ingress-Filters			Disabled		2

Constants

EGRESS_VLANID_TYPE
EGRESS_VLAN_NAME_TYPE
INGRESS_FILTERS_DISABLED
INGRESS_FILTERS_ENABLED
INGRESS_FILTERS_TYPE
USER_PRIORITY_TABLE_TYPE

Functions

add_egress_vlan_name

Add egress_vlan_name string value to a packet.

add_egress_vlanid

Add egress_vlanid integer value to a packet.

add_ingress_filters

Add ingress_filters value-defined integer value to a packet.

add_user_priority_table

Add user_priority_table octets value to a packet.

delete_egress_vlan_name

Delete all of egress_vlan_name values from a packet.

delete_egress_vlanid

Delete all of egress_vlanid values from a packet.

delete_ingress_filters

Delete all of ingress_filters values from a packet.

delete_user_priority_table

Delete all of user_priority_table values from a packet.

lookup_all_egress_vlan_name

Lookup all of the egress_vlan_name string value from a packet.

lookup_all_egress_vlanid

Lookup all of the egress_vlanid integer value from a packet.

lookup_all_ingress_filters

Lookup all of the ingress_filters value-defined integer value from a packet.

lookup_all_user_priority_table

Lookup all of the user_priority_table octets value from a packet.

lookup_egress_vlan_name

Lookup a egress_vlan_name string value from a packet.

lookup_egress_vlanid

Lookup a egress_vlanid integer value from a packet.

lookup_ingress_filters

Lookup a ingress_filters value-defined integer value from a packet.

lookup_user_priority_table

Lookup a user_priority_table octets value from a packet.

Type Definitions

IngressFilters