(by-index idx)
Get a network interface given its index.
Get a network interface given its index.
(by-inet-address addr)
Convenience method to search for a network interface that has the specified Internet Protocol (IP) address bound to it.
Convenience method to search for a network interface that has the specified Internet Protocol (IP) address bound to it.
(by-name iface-name)
Searches for the network interface with the specified name.
Searches for the network interface with the specified name.
(hardware-address this)
Returns the hardware address (usually MAC) of the interface if it has one and if it can be accessed given the current privileges.
Returns the hardware address (usually MAC) of the interface if it has one and if it can be accessed given the current privileges.
(up? this)
Returns whether a network interface is up and running.
Returns whether a network interface is up and running.
(loopback? this)
Returns whether a network interface is a loopback interface.
Returns whether a network interface is a loopback interface.
(interface-addresses this)
Get a List of all or a subset of the InterfaceAddresses of this network interface.
Get a List of all or a subset of the InterfaceAddresses of this network interface.
(virtual? this)
Returns whether this interface is a virtual interface (also called subinterface).
Returns whether this interface is a virtual interface (also called subinterface).
(parent this)
Returns the parent NetworkInterface of this interface if this is a subinterface, or null if it is a physical (non virtual) interface or has no parent.
Returns the parent NetworkInterface of this interface if this is a subinterface, or null if it is a physical (non virtual) interface or has no parent.
(index this)
Returns the index of this network interface.
Returns the index of this network interface.
(mtu this)
Returns the Maximum Transmission Unit (MTU) of this interface.
Returns the Maximum Transmission Unit (MTU) of this interface.
(name this)
Get the name of this network interface.
Get the name of this network interface.
(point-to-point? this)
Returns whether a network interface is a point to point interface.
Returns whether a network interface is a point to point interface.
(inet-addresses this)
Convenience method to return an Enumeration with all or a subset of the InetAddresses bound to this network interface.
Convenience method to return an Enumeration with all or a subset of the InetAddresses bound to this network interface.
(sub-interfaces this)
Get an Enumeration with all the subinterfaces (also known as virtual interfaces) attached to this network interface.
Get an Enumeration with all the subinterfaces (also known as virtual interfaces) attached to this network interface.
(supports-multicast? this)
Returns whether a network interface supports multicasting or not.
Returns whether a network interface supports multicasting or not.
(display-name this)
Get the display name of this network interface.
Get the display name of this network interface.
(network-interfaces)
Returns all the interfaces on this machine.
Returns all the interfaces on this machine.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close