Liking cljdoc? Tell your friends :D

bacure.network


create-mstp-networkclj

(create-mstp-network {:keys [local-network-number mstp-config]
                      :as device-config})

Return an MstpNetwork object, configured with either a slave or a master node for the local-device. This class does not have a dedicated 'builder' like the IP network does, so we'll call its constructor directly.

Return an MstpNetwork object, configured with either a slave or a master node
for the local-device. This class does not have a dedicated 'builder' like the
IP network does, so we'll call its constructor directly.
sourceraw docstring

default-mstp-configclj

source

get-any-ipclj

(get-any-ip)

Return the first IPv4 found.

Return the first IPv4 found.
sourceraw docstring

get-broadcast-addressclj

(get-broadcast-address local-ip)

Given a local-ip, return the broadcast address

Given a local-ip, return the broadcast address
sourceraw docstring

get-broadcast-address-of-interfaceclj

(get-broadcast-address-of-interface interface)
source

get-interface-from-ipclj

(get-interface-from-ip ip)

Given an IP address, return the interface.

Given an IP address, return the interface.
sourceraw docstring

get-interfacesclj

(get-interfaces)

Return the list of interfaces on this machine.

Return the list of interfaces on this machine.
sourceraw docstring

interfaces-and-ipsclj

(interfaces-and-ips)

Return a list of interfaces and their IPs. ({:interface "wlan0", :ips ("192.168.0.2")})

Return a list of interfaces and their IPs.
({:interface "wlan0", :ips ("192.168.0.2")})
sourceraw docstring

ip-network-builderclj

(ip-network-builder {:keys [broadcast-address local-address local-network-number
                            port reuse-address]})

Return an IP network object.

Return an IP network object.
sourceraw docstring

ipv4-from-interfaceclj

(ipv4-from-interface interface)

Return a list of available IPs from the interface. Remove any loopback address.

As BACnet doesn't support IPv6 yet, just keep IPv4.

Return a list of available IPs from the interface. Remove any
loopback address.

As BACnet doesn't support IPv6 yet, just keep IPv4.
sourceraw docstring

mstp-listener-networkclj

(mstp-listener-network receive-npdu-fn node local-network-number)
source

resolve-dnsclj

(resolve-dns IP-or-url)

Return the IP of a given url, or simply return the IP unchanged

Return the IP of a given url, or simply return the IP unchanged
sourceraw docstring

to-bytesclj

(to-bytes IP-or-url)
source

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

× close