Liking cljdoc? Tell your friends :D

inet.data.dns

Functions for interacting with DNS domain names.

Internally represents domain names using a normalized byte-oriented form. The normalized form is defined as: (a) IDN labels IDNA-encoded; (b) domain labels arranged from top-level to bottom-level (i.e., reversed from typical order); and (c) every label preceded by a byte indicating the count of bytes in the label.

This form has the following benefits: (a) it may accurately represent any binary data, just like the DNS wire form; (b) lexicographic byte order is also hierarchical order; and (c) for a given child domain and ancestor domain, one may easily find the next longer child of the ancestor. The primary down-side is that this form does make it more difficult to find the immediate parent of a given domain.

Functions for interacting with DNS domain names.

Internally represents domain names using a normalized byte-oriented form.  The
normalized form is defined as: (a) IDN labels IDNA-encoded; (b) domain labels
arranged from top-level to bottom-level (i.e., reversed from typical order);
and (c) every label preceded by a byte indicating the count of bytes in the
label.

This form has the following benefits: (a) it may accurately represent any
binary data, just like the DNS wire form; (b) lexicographic byte order is also
hierarchical order; and (c) for a given child domain and ancestor domain, one
may easily find the next longer child of the ancestor.  The primary down-side
is that this form does make it more difficult to find the immediate parent of a
given domain.
raw docstring

inet.data.format.flat

Functions for loading inet.data entities from flat line-oriented files.

Functions for loading inet.data entities from flat line-oriented files.
raw docstring

inet.data.format.psl

Functions for interfacing with Mozilla Public Suffix List format files.

The supported format is an extended version of the PSL format. There are two differences:

  • Lines beginning with # are considered to be comments in addition to lines beginning with //.

  • Supports a new "dynamic" rule type, indicated by prefixing a domain with a + character. Dynamic rules act as per normal rules, unless the lookup domain is identical to the suffix domain. In that that case, the lookup falls through to the next matching rule instead of terminating with a null result.

See the tests for examples.

Functions for interfacing with Mozilla Public Suffix List format files.

The supported format is an extended version of the PSL format.  There are two
differences:

 - Lines beginning with `#` are considered to be comments in addition to lines
   beginning with `//`.

 - Supports a new "dynamic" rule type, indicated by prefixing a domain with a
   `+` character.  Dynamic rules act as per normal rules, unless the lookup
   domain is identical to the suffix domain.  In that that case, the lookup
   falls through to the next matching rule instead of terminating with a null
   result.

See the tests for examples.
raw docstring

inet.data.s11n.abracad

Avro serialization implementations for inet.data types.

Avro serialization implementations for inet.data types.
raw docstring

inet.data.s11n.byteable

Byteable serialization implementations for inet.data type.

Byteable serialization implementations for inet.data type.
raw docstring

No vars found in this namespace.

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

× close