(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?
(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?
(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
(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
(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?
(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?
(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?
(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?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close