struct IfAddr
- IfAddr
- Struct
- Value
- Object
Defined in:
interface_address/ifaddr.crConstructors
Instance Method Summary
- #clone
- #copy_with(interface_name _interface_name = @interface_name, ip_address _ip_address = @ip_address, netmask _netmask = @netmask)
- #interface_name : String
- #ip_address : Socket::IPAddress
- #netmask : Socket::IPAddress
Constructor Detail
def self.new(interface_name : String, ip_address : Socket::IPAddress, netmask : Socket::IPAddress)
#
Instance Method Detail
def copy_with(interface_name _interface_name = @interface_name, ip_address _ip_address = @ip_address, netmask _netmask = @netmask)
#