MCPcopy Create free account
hub / github.com/secdev/scapy / in6_isdocaddr

Function in6_isdocaddr

scapy/utils6.py:732–739  ·  view source on GitHub ↗

Returns True if provided address in printable format belongs to 2001:db8::/32 address space reserved for documentation (as defined in RFC 3849).

(str)

Source from the content-addressed store, hash-verified

730
731
732def in6_isdocaddr(str):
733 # type: (str) -> bool
734 """
735 Returns True if provided address in printable format belongs to
736 2001:db8::/32 address space reserved for documentation (as defined
737 in RFC 3849).
738 """
739 return in6_isincluded(str, '2001:db8::', 32)
740
741
742def in6_islladdr(str):

Callers

nothing calls this directly

Calls 1

in6_isincludedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…