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



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

def destination
  @destination
end

#deviceObject

Returns the value of attribute device



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

def device
  @device
end

#flagsObject

Returns the value of attribute flags



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

def flags
  @flags
end

#gatewayObject

Returns the value of attribute gateway



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

def gateway
  @gateway
end

#irrtObject

Returns the value of attribute irrt



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

def irrt
  @irrt
end

#maskObject

Returns the value of attribute mask



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

def mask
  @mask
end

#metricObject

Returns the value of attribute metric



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

def metric
  @metric
end

#mtuObject

Returns the value of attribute mtu



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

def mtu
  @mtu
end

#ref_countObject

Returns the value of attribute 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



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

def use
  @use
end

#windowObject

Returns the value of attribute window



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

def window
  @window
end

Instance Method Details

#default_gateway?Boolean



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

def default_gateway?
end

#metric?Boolean



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

def metric?
  super != '0'
end

#use?Boolean



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

def use?
  super != '0'
end