Class Racket::L4::ICMPRedirect
In: lib/racket/l4/icmp.rb  (CVS)
Parent: ICMPGeneric

ICMP Redirect Message

Methods

new  

Constants

ICMP_CODE_REDIRECT_NETWORK = 0
ICMP_CODE_REDIRECT_HOST = 1
ICMP_CODE_REDIRECT_TOS_NETWORK = 2
ICMP_CODE_REDIRECT_TOS_HOST = 3

Attributes

gateway_ip    Gateway internet address
payload    Internet header + 64 bits of original datagram

Public Class methods

[Source]

# File lib/racket/l4/icmp.rb, line 208
  def initialize(*args)
    super(*args)
    self.type = 5 
    self.code = 0
  end

[Validate]