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

Function in6_and

scapy/utils6.py:608–615  ·  view source on GitHub ↗

Provides a bit to bit AND of provided addresses. They must be passed in network format. Return value is also an IPv6 address in network format.

(a1, a2)

Source from the content-addressed store, hash-verified

606
607
608def in6_and(a1, a2):
609 # type: (bytes, bytes) -> bytes
610 """
611 Provides a bit to bit AND of provided addresses. They must be
612 passed in network format. Return value is also an IPv6 address
613 in network format.
614 """
615 return strand(a1, a2)
616
617
618def in6_xor(a1, a2):

Callers 9

ifchangeMethod · 0.90
ifaddMethod · 0.90
in6_addrtomacFunction · 0.85
in6_iseui64Function · 0.85
in6_isanycastFunction · 0.85
in6_getnsmaFunction · 0.85
in6_gethaFunction · 0.85
in6_isincludedFunction · 0.85
in6_isllsnmaddrFunction · 0.85

Calls 1

strandFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…