Liking cljdoc? Tell your friends :D

ctim.domain.observables.ip


ipv4-regexclj

source

ipv6-regexclj

source

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?
sourceraw 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?
sourceraw 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
sourceraw 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
sourceraw docstring

private-ipv4-masksclj

source

private-ipv6-maskclj

source

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?
sourceraw docstring

special-ipv4-masksclj

source

special-ipv6-masksclj

source

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?
sourceraw 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?
sourceraw 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?
sourceraw docstring

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

× close