struct IfAddr

Defined in:

interface_address/ifaddr.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(interface_name : String, ip_address : Socket::IPAddress, netmask : Socket::IPAddress) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(interface_name _interface_name = @interface_name, ip_address _ip_address = @ip_address, netmask _netmask = @netmask) #

[View source]
def interface_name : String #

def ip_address : Socket::IPAddress #

def netmask : Socket::IPAddress #