Class: Arpoon::Route::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/arpoon/route.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#destinationObject

Returns the value of attribute destination

Returns:

  • (Object)

    the current value of destination



47
48
49
# File 'lib/arpoon/route.rb', line 47

def destination
  @destination
end

#deviceObject

Returns the value of attribute device

Returns:

  • (Object)

    the current value of device



47
48
49
# File 'lib/arpoon/route.rb', line 47

def device
  @device
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



47
48
49
# File 'lib/arpoon/route.rb', line 47

def flags
  @flags
end

#gatewayObject

Returns the value of attribute gateway

Returns:

  • (Object)

    the current value of gateway



47
48
49
# File 'lib/arpoon/route.rb', line 47

def gateway
  @gateway
end

#irrtObject

Returns the value of attribute irrt

Returns:

  • (Object)

    the current value of irrt



47
48
49
# File 'lib/arpoon/route.rb', line 47

def irrt
  @irrt
end

#maskObject

Returns the value of attribute mask

Returns:

  • (Object)

    the current value of mask



47
48
49
# File 'lib/arpoon/route.rb', line 47

def mask
  @mask
end

#metricObject

Returns the value of attribute metric

Returns:

  • (Object)

    the current value of metric



47
48
49
# File 'lib/arpoon/route.rb', line 47

def metric
  @metric
end

#mtuObject

Returns the value of attribute mtu

Returns:

  • (Object)

    the current value of mtu



47
48
49
# File 'lib/arpoon/route.rb', line 47

def mtu
  @mtu
end

#ref_countObject

Returns the value of attribute ref_count

Returns:

  • (Object)

    the current value of ref_count



47
48
49
# File 'lib/arpoon/route.rb', line 47

def ref_count
  @ref_count
end

#useObject

Returns the value of attribute use

Returns:

  • (Object)

    the current value of use



47
48
49
# File 'lib/arpoon/route.rb', line 47

def use
  @use
end

#windowObject

Returns the value of attribute window

Returns:

  • (Object)

    the current value of window



47
48
49
# File 'lib/arpoon/route.rb', line 47

def window
  @window
end

Instance Method Details

#default_gateway?Boolean

Returns:

  • (Boolean)


90
91
# File 'lib/arpoon/route.rb', line 90

def default_gateway?
end

#metric?Boolean

Returns:

  • (Boolean)


74
75
76
# File 'lib/arpoon/route.rb', line 74

def metric?
	super != '0'
end

#use?Boolean

Returns:

  • (Boolean)


70
71
72
# File 'lib/arpoon/route.rb', line 70

def use?
	super != '0'
end