Class: Nl::Linux::RtLink::Notifications::NewlinkNtf

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

Overview

Notify that a link has been created

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:



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

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

#af_spec ⇒ AttributeSets::AfSpecAttrs



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

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

#allmulti ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#broadcast ⇒ String

Returns:

  • (String)

See Also:



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

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

#carrier ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#carrier_changes ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#carrier_down_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#carrier_up_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (String)

See Also:



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

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

#event ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ext_mask ⇒ Integer

Known flags are defined in Flags::RtextFilter.

Returns:

  • (Integer)

See Also:



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

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

#gro_ipv4_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gro_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#group ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gso_ipv4_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gso_max_segs ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#gso_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ifalias ⇒ String

Returns:

  • (String)

See Also:



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

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

#ifi_change ⇒ Integer

Returns:

  • (Integer)


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

def ifi_change; fixed_header.ifi_change; end

#ifi_family ⇒ Integer

Returns:

  • (Integer)


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

def ifi_family; fixed_header.ifi_family; end

#ifi_flags ⇒ Integer

Returns:

  • (Integer)


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

def ifi_flags; fixed_header.ifi_flags; end

#ifi_index ⇒ Integer

Returns:

  • (Integer)


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

def ifi_index; fixed_header.ifi_index; end

#ifi_type ⇒ Integer

Returns:

  • (Integer)


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

def ifi_type; fixed_header.ifi_type; end

#ifname ⇒ String

Returns:

  • (String)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

#linkinfo ⇒ AttributeSets::LinkinfoAttrs



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

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

#linkmode ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#map ⇒ Structs::RtnlLinkIfmap



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

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

#master ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#max_mtu ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#min_mtu ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#mtu ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#net_ns_fd ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#net_ns_pid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#new_ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#new_netnsid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#num_rx_queues ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#num_tx_queues ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#num_vf ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#operstate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#parent_dev_bus_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#parent_dev_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#perm_address ⇒ String

Returns:

  • (String)

See Also:



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

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

#phys_port_id ⇒ String

Returns:

  • (String)

See Also:



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

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

#phys_port_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#phys_switch_id ⇒ String

Returns:

  • (String)

See Also:



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

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

#port_self ⇒ AttributeSets::PortSelfAttrs



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

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

#promiscuity ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#prop_list ⇒ AttributeSets::PropListLinkAttrs



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

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

#protinfo ⇒ String

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

Returns:

  • (String)

See Also:



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

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

#proto_down ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#proto_down_reason ⇒ String

Returns:

  • (String)

See Also:



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

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

#qdisc ⇒ String

Returns:

  • (String)

See Also:



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

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

#stats ⇒ Structs::RtnlLinkStats



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

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

#stats64 ⇒ Structs::RtnlLinkStats64



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

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

#target_netnsid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tso_max_segs ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#tso_max_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#txqlen ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#vf_ports ⇒ AttributeSets::VfPortsAttrs



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

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

#vfinfo_list ⇒ AttributeSets::VfinfoListAttrs



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

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

#weight ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#wireless ⇒ String

struct iw_event

Returns:

  • (String)

See Also:



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

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

#xdp ⇒ AttributeSets::XdpAttrs



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

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