Liking cljdoc? Tell your friends :D

inet.interface


behaviourclj

source

by-indexclj

(by-index idx)

Get a network interface given its index.

Get a network interface given its index.
sourceraw docstring

by-inet-addressclj

(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.
sourceraw docstring

by-nameclj

(by-name iface-name)

Searches for the network interface with the specified name.

Searches for the network interface with the specified name.
sourceraw docstring

NetInterfacecljprotocol

hardware-addressclj

(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?clj

(up? this)

Returns whether a network interface is up and running.

Returns whether a network interface is up and running.

loopback?clj

(loopback? this)

Returns whether a network interface is a loopback interface.

Returns whether a network interface is a loopback interface.

interface-addressesclj

(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?clj

(virtual? this)

Returns whether this interface is a virtual interface (also called subinterface).

Returns whether this interface is a virtual interface (also called
subinterface).

parentclj

(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.

indexclj

(index this)

Returns the index of this network interface.

Returns the index of this network interface.

mtuclj

(mtu this)

Returns the Maximum Transmission Unit (MTU) of this interface.

Returns the Maximum Transmission Unit (MTU) of this interface.

nameclj

(name this)

Get the name of this network interface.

Get the name of this network interface.

point-to-point?clj

(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-addressesclj

(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-interfacesclj

(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?clj

(supports-multicast? this)

Returns whether a network interface supports multicasting or not.

Returns whether a network interface supports multicasting or not.

display-nameclj

(display-name this)

Get the display name of this network interface.

Get the display name of this network interface.
source

network-interfacesclj

(network-interfaces)

Returns all the interfaces on this machine.

Returns all the interfaces on this machine.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close