MCPcopy Index your code
hub / github.com/secdev/scapy / mac2str

Function mac2str

scapy/utils.py:661–663  ·  view source on GitHub ↗
(mac)

Source from the content-addressed store, hash-verified

659
660
661def mac2str(mac):
662 # type: (str) -> bytes
663 return b"".join(chb(int(x, 16)) for x in plain_str(mac).split(':'))
664
665
666def valid_mac(mac):

Callers 11

i2mMethod · 0.90
install_unicast_keysMethod · 0.90
parse_TKIP_hdrFunction · 0.90
build_TKIP_payloadFunction · 0.90
check_MIC_ICVFunction · 0.90
build_MIC_ICVFunction · 0.90
dhcp_requestFunction · 0.90
i2mMethod · 0.90
arpleakFunction · 0.90
_extract_upperaddressFunction · 0.90
valid_macFunction · 0.85

Calls 3

chbFunction · 0.90
plain_strFunction · 0.90
joinMethod · 0.80

Tested by

no test coverage detected