Class: Nl::Linux::RtLink::SubMessages::LinkinfoDataMsg::Vlan

Inherits:
SubMessage
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/rt_link.rb

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::LinkinfoVlanAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#egress_qos ⇒ AttributeSets::IflaVlanQos



8064
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8064

def egress_qos; attributes[:"egress_qos"]&.value; end

#flags ⇒ Structs::IflaVlanFlags



8060
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8060

def flags; attributes[:"flags"]&.value; end

#id ⇒ Integer

Returns:

  • (Integer)

See Also:



8056
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8056

def id; attributes[:"id"]&.value; end

#ingress_qos ⇒ AttributeSets::IflaVlanQos



8068
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8068

def ingress_qos; attributes[:"ingress_qos"]&.value; end

#protocol ⇒ Integer

Known enum values are defined in Enums::VlanProtocols.

Returns:

  • (Integer)

See Also:



8073
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 8073

def protocol; attributes[:"protocol"]&.value; end