Class: Kanrisuru::Core::IP::IPLinkProperty

Inherits:
Struct
  • Object
show all
Defined in:
lib/kanrisuru/core/ip/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#aliasObject

Returns the value of attribute alias

Returns:

  • (Object)

    the current value of alias



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def alias
  @alias
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def flags
  @flags
end

#groupObject

Returns the value of attribute group

Returns:

  • (Object)

    the current value of group



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def group
  @group
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def index
  @index
end

Returns the value of attribute link_mode

Returns:

  • (Object)

    the current value of link_mode



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def link_mode
  @link_mode
end

Returns the value of attribute link_type

Returns:

  • (Object)

    the current value of link_type



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def link_type
  @link_type
end

#mac_addressObject

Returns the value of attribute mac_address

Returns:

  • (Object)

    the current value of mac_address



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def mac_address
  @mac_address
end

#mtuObject

Returns the value of attribute mtu

Returns:

  • (Object)

    the current value of mtu



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def mtu
  @mtu
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def name
  @name
end

#qdiscObject

Returns the value of attribute qdisc

Returns:

  • (Object)

    the current value of qdisc



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def qdisc
  @qdisc
end

#qlenObject

Returns the value of attribute qlen

Returns:

  • (Object)

    the current value of qlen



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def qlen
  @qlen
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def state
  @state
end

#statsObject

Returns the value of attribute stats

Returns:

  • (Object)

    the current value of stats



6
7
8
# File 'lib/kanrisuru/core/ip/types.rb', line 6

def stats
  @stats
end