Class docsis_ieee802_packet_classifier

Description

DOCSIS IEEE 802 Packet Classifier

Located in /docsis_config/docsis_classifier.php (line 271)

docsis_encoder
   |
   --docsis_encoder_complex
      |
      --docsis_ieee802_packet_classifier
Method Summary
 docsis_ieee802_packet_classifier docsis_ieee802_packet_classifier ([int $code = DOCSIS_PACKET_CLASSIFIER_IEEE], [array $value = array()])
 void set_user_priority (int $low, int $high)
 void set_vlan_id ($id $id)
Variables

Inherited Variables

Inherited from docsis_encoder

docsis_encoder::$code
docsis_encoder::$value
Methods
Constructor docsis_ieee802_packet_classifier (line 279)

Constructor

docsis_ieee802_packet_classifier docsis_ieee802_packet_classifier ([int $code = DOCSIS_PACKET_CLASSIFIER_IEEE], [array $value = array()])
  • int $code: docsis code
  • array $value: predefined values
set_user_priority (line 297)

Set IEEE 802.1P User Priority - docsis 1.1

The values of the field specify the matching parameters for the IEEE 802.1P user_priority bits. An Ethernet packet with IEEE 802.1P user_priority value "priority" matches these parameters if $low <= priority <= $high.

If this parameter is specified for an entry, then Ethernet packets without IEEE 802.1Q encapsulation must not match this entry. If this parameter is specified to an entry on a CM that does not support forwarding of IEEE 802.1Q encapsulated traffic, then this entry must not be use for any traffic.

void set_user_priority (int $low, int $high)
  • int $low
  • int $high
set_vlan_id (line 317)

Set IEEE 802.1Q VLAN_ID - docsis 1.1

The value of the field specify the matching value for the IEEE 802.1Q vlan_id bits. Only the first (i.e., most-significant) 12 bits of the specified vland_id field are significant; the final four bits must be ignored for comparison.

If this parameter is specified for an entry, then Ethernet packets without IEEE 802.1Q encapsulation must not match this entry. If this parameter is specified to an entry on a CM that does not support forwarding of IEEE 802.1Q encapsulated traffic, then this entry must not be use for any traffic.

void set_vlan_id ($id $id)
  • $id $id

Inherited Methods

Inherited From docsis_encoder_complex

 docsis_encoder_complex::docis_encoder_complex()
 docsis_encoder_complex::encode()

Inherited From docsis_encoder

 docsis_encoder::docsis_encoder()
 docsis_encoder::encode()

Documentation generated on Mon, 14 Nov 2005 17:59:41 -0700 by phpDocumentor 1.3.0RC3