Class: Nl::Linux::Tc::AttributeSets::Attrs

Inherits:
AttributeSet show all
Defined in:
nl-linux/generated/nl/linux/tc.rb

Defined Under Namespace

Classes: Attribute, Chain, DumpFlags, DumpInvisible, EgressBlock, ExtWarnMsg, Fcnt, HwOffload, IngressBlock, Kind, Options, Pad, Rate, Stab, Stats, Stats2, Xstats

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



2740
# File 'nl-linux/generated/nl/linux/tc.rb', line 2740

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



2746
# File 'nl-linux/generated/nl/linux/tc.rb', line 2746

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#chain ⇒ Integer

Returns:

  • (Integer)

See Also:



2713
# File 'nl-linux/generated/nl/linux/tc.rb', line 2713

def chain; self[:"chain"]&.value; end

#dump_flags ⇒ Nl::Bitfield32

Returns:

See Also:



2729
# File 'nl-linux/generated/nl/linux/tc.rb', line 2729

def dump_flags; self[:"dump_flags"]&.value; end

#dump_invisible ⇒ Integer

Returns:

  • (Integer)

See Also:



2709
# File 'nl-linux/generated/nl/linux/tc.rb', line 2709

def dump_invisible; self[:"dump_invisible"]&.value; end

#egress_block ⇒ Integer

Returns:

  • (Integer)

See Also:



2725
# File 'nl-linux/generated/nl/linux/tc.rb', line 2725

def egress_block; self[:"egress_block"]&.value; end

#ext_warn_msg ⇒ String

Returns:

  • (String)

See Also:



2733
# File 'nl-linux/generated/nl/linux/tc.rb', line 2733

def ext_warn_msg; self[:"ext_warn_msg"]&.value; end

#fcnt ⇒ Integer

Returns:

  • (Integer)

See Also:



2697
# File 'nl-linux/generated/nl/linux/tc.rb', line 2697

def fcnt; self[:"fcnt"]&.value; end

#hw_offload ⇒ Integer

Returns:

  • (Integer)

See Also:



2717
# File 'nl-linux/generated/nl/linux/tc.rb', line 2717

def hw_offload; self[:"hw_offload"]&.value; end

#ingress_block ⇒ Integer

Returns:

  • (Integer)

See Also:



2721
# File 'nl-linux/generated/nl/linux/tc.rb', line 2721

def ingress_block; self[:"ingress_block"]&.value; end

#kind ⇒ String

Returns:

  • (String)

See Also:



2677
# File 'nl-linux/generated/nl/linux/tc.rb', line 2677

def kind; self[:"kind"]&.value; end

#options ⇒ SubMessages::OptionsMsg::Basic, ...



2681
# File 'nl-linux/generated/nl/linux/tc.rb', line 2681

def options; self[:"options"]&.value; end

#rate ⇒ Structs::GnetEstimator

Returns:

See Also:



2693
# File 'nl-linux/generated/nl/linux/tc.rb', line 2693

def rate; self[:"rate"]&.value; end

#stab ⇒ AttributeSets::TcaStabAttrs

Returns:

See Also:



2705
# File 'nl-linux/generated/nl/linux/tc.rb', line 2705

def stab; self[:"stab"]&.value; end

#stats ⇒ Structs::TcStats

Returns:

See Also:



2685
# File 'nl-linux/generated/nl/linux/tc.rb', line 2685

def stats; self[:"stats"]&.value; end

#stats2 ⇒ AttributeSets::TcaStatsAttrs

Returns:

See Also:



2701
# File 'nl-linux/generated/nl/linux/tc.rb', line 2701

def stats2; self[:"stats2"]&.value; end