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

Function in4_ismaddr

scapy/utils.py:851–857  ·  view source on GitHub ↗

Returns True if provided address in printable format belongs to allocated Multicast address space (224.0.0.0/4).

(str)

Source from the content-addressed store, hash-verified

849
850
851def in4_ismaddr(str):
852 # type: (str) -> bool
853 """
854 Returns True if provided address in printable format belongs to
855 allocated Multicast address space (224.0.0.0/4).
856 """
857 return in4_isincluded(str, "224.0.0.0", 4)
858
859
860def in4_ismlladdr(str):

Callers 1

getmacbyipFunction · 0.90

Calls 1

in4_isincludedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…