Module address

Module address 

Source
Expand description

4.1.3. Address Literals (RFC 5321)

Functions§

General_address_literal
General-address-literal = Standardized-tag “:” 1*dcontent
IPv4_address_literal
IPv4-address-literal = Snum 3(“.” Snum)
IPv6_addr
IPv6-addr = IPv6-full / IPv6-comp / IPv6v4-full / IPv6v4-comp
IPv6_address_literal
IPv6-address-literal = “IPv6:” IPv6-addr
IPv6_comp
The “::” represents at least 2 16-bit groups of zeros. No more than 6 groups in addition to the “::” may be present.
IPv6_full
IPv6-full = IPv6-hex 7(“:” IPv6-hex)
IPv6_hex
IPv6-hex = 1*4HEXDIG
IPv6v4_comp
The “::” represents at least 2 16-bit groups of zeros. No more than 4 groups in addition to the “::” and IPv4-address-literal may be present.
IPv6v4_full
IPv6v4-full = IPv6-hex 5(“:” IPv6-hex) “:” IPv4-address-literal
Snum
Representing a decimal integer value in the range 0 through 255
Standardized_tag
Standardized-tag MUST be specified in a Standards-Track RFC and registered with IANA
address_literal
address-literal = “[” ( IPv4-address-literal / IPv6-address-literal / General-address-literal ) “]” ; See Section 4.1.3
is_dcontent
Printable US-ASCII excl. “[”, “", “]”