Liking cljdoc? Tell your friends :D

ctim.domain.observables.ip


ipv4-regexclj


ipv6-regexclj


match-mask?clj

(match-mask? ip-str mask)

Inputs: [ip-str :- s/Str mask :- s/Str] Returns: s/Bool

Does this ip match given mask?

Inputs: [ip-str :- s/Str mask :- s/Str]
Returns: s/Bool

Does this ip match given mask?
raw docstring

match-some-masks?clj

(match-some-masks? ip-str masks)

Inputs: [ip-str :- s/Str masks :- [s/Str]] Returns: s/Bool

Does this ip match one of given masks?

Inputs: [ip-str :- s/Str masks :- [s/Str]]
Returns: s/Bool

Does this ip match one of given masks?
raw docstring

normalize-ipclj

(normalize-ip ip-str)

Inputs: [ip-str :- s/Str] Returns: (s/maybe s/Str)

Normalizes an ip that was modified with a known transformation

Inputs: [ip-str :- s/Str]
Returns: (s/maybe s/Str)

Normalizes an ip that was modified with a known transformation
raw docstring

private-ip?clj

(private-ip? ip-str)

Inputs: [ip-str :- s/Str] Returns: s/Bool

Is this a IP reserved for private network usage

Inputs: [ip-str :- s/Str]
Returns: s/Bool

Is this a IP reserved for private network usage
raw docstring

private-ipv4-masksclj


private-ipv6-maskclj


special-ip?clj

(special-ip? ip-str)

Inputs: [ip-str :- s/Str] Returns: s/Bool

Is this IP within a special block of IPs?

Inputs: [ip-str :- s/Str]
Returns: s/Bool

Is this IP within a special block of IPs?
raw docstring

special-ipv4-masksclj


special-ipv6-masksclj


valid-ip?clj

(valid-ip? ip-str)

Inputs: [ip-str :- s/Str] Returns: s/Bool

Is this a valid ipv4 or ipv6 address?

Inputs: [ip-str :- s/Str]
Returns: s/Bool

Is this a valid ipv4 or ipv6 address?
raw docstring

valid-ipv4?clj

(valid-ipv4? ip-str)

Inputs: [ip-str :- s/Str] Returns: s/Bool

Is this a valid ipv4 address?

Inputs: [ip-str :- s/Str]
Returns: s/Bool

Is this a valid ipv4 address?
raw docstring

valid-ipv6?clj

(valid-ipv6? ip-str)

Inputs: [ip-str :- s/Str] Returns: s/Bool

Is this a valid ipv6 address?

Inputs: [ip-str :- s/Str]
Returns: s/Bool

Is this a valid ipv6 address?
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close