Class: Nl::Linux::Tc::SubMessages::ActOptionsMsg::Police

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

Constant Summary collapse

FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::PoliceAttrs

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods included from StructuredPayload

#encode, #initialize

Instance Method Details

#avrate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#peakrate ⇒ String

Returns:

  • (String)

See Also:



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

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

#peakrate64 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pktburst64 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pktrate64 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#rate ⇒ String

Returns:

  • (String)

See Also:



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

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

#rate64 ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#result ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tbf ⇒ Structs::TcPolice



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

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

#tm ⇒ Structs::TcfT



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

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