Class: Nl::Linux::RtLink::Messages::DoGetlinkReply

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

Overview

Get / dump information about a link.

Constant Summary collapse

TYPE =
16
FIXED_HEADER =
Structs::Ifinfomsg
ATTRIBUTE_SET =
AttributeSets::LinkAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[address broadcast ifname mtu link qdisc stats master wireless protinfo txqlen map weight operstate linkmode linkinfo net_ns_pid ifalias num_vf vfinfo_list stats64 vf_ports port_self af_spec group net_ns_fd ext_mask promiscuity num_tx_queues num_rx_queues carrier phys_port_id carrier_changes phys_switch_id link_netnsid phys_port_name proto_down gso_max_segs gso_max_size pad xdp event new_netnsid target_netnsid carrier_up_count carrier_down_count new_ifindex min_mtu max_mtu prop_list perm_address proto_down_reason parent_dev_name parent_dev_bus_name gro_max_size tso_max_size tso_max_segs allmulti devlink_port gso_ipv4_max_size gro_ipv4_max_size])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#address ⇒ String

Returns:

  • (String)

See Also:



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

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

#af_spec ⇒ AttributeSets::AfSpecAttrs



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

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

#allmulti ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#broadcast ⇒ String

Returns:

  • (String)

See Also:



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

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

#carrier ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#carrier_changes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#carrier_down_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#carrier_up_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (String)

See Also:



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

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

#event ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ext_mask ⇒ Integer

Known flags are defined in Flags::RtextFilter.

Returns:

  • (Integer)

See Also:



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

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

#gro_ipv4_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gro_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#group ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gso_ipv4_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gso_max_segs ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gso_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ifalias ⇒ String

Returns:

  • (String)

See Also:



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

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

#ifi_change ⇒ Integer

Returns:

  • (Integer)


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

def ifi_change; fixed_header.ifi_change; end

#ifi_family ⇒ Integer

Returns:

  • (Integer)


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

def ifi_family; fixed_header.ifi_family; end

#ifi_flags ⇒ Integer

Returns:

  • (Integer)


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

def ifi_flags; fixed_header.ifi_flags; end

#ifi_index ⇒ Integer

Returns:

  • (Integer)


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

def ifi_index; fixed_header.ifi_index; end

#ifi_type ⇒ Integer

Returns:

  • (Integer)


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

def ifi_type; fixed_header.ifi_type; end

#ifname ⇒ String

Returns:

  • (String)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

#linkinfo ⇒ AttributeSets::LinkinfoAttrs



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

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

#linkmode ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#map ⇒ Structs::RtnlLinkIfmap



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

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

#master ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#max_mtu ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#min_mtu ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mtu ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#net_ns_fd ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#net_ns_pid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#new_ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#new_netnsid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#num_rx_queues ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#num_tx_queues ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#num_vf ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#operstate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parent_dev_bus_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#parent_dev_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#perm_address ⇒ String

Returns:

  • (String)

See Also:



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

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

#phys_port_id ⇒ String

Returns:

  • (String)

See Also:



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

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

#phys_port_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#phys_switch_id ⇒ String

Returns:

  • (String)

See Also:



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

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

#port_self ⇒ AttributeSets::PortSelfAttrs



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

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

#promiscuity ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#prop_list ⇒ AttributeSets::PropListLinkAttrs



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

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

#protinfo ⇒ String

A nest of ifla6-attrs or linkinfo-brport-attrs

Returns:

  • (String)

See Also:



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

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

#proto_down ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#proto_down_reason ⇒ String

Returns:

  • (String)

See Also:



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

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

#qdisc ⇒ String

Returns:

  • (String)

See Also:



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

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

#stats ⇒ Structs::RtnlLinkStats



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

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

#stats64 ⇒ Structs::RtnlLinkStats64



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

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

#target_netnsid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tso_max_segs ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tso_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#txqlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vf_ports ⇒ AttributeSets::VfPortsAttrs



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

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

#vfinfo_list ⇒ AttributeSets::VfinfoListAttrs



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

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

#weight ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#wireless ⇒ String

struct iw_event

Returns:

  • (String)

See Also:



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

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

#xdp ⇒ AttributeSets::XdpAttrs



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

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