Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/secdev/scapy
/ m2i
Method
m2i
scapy/layers/bluetooth4LE.py:136–137 ·
view source on GitHub ↗
(self, pkt, x)
Source
from the content-addressed store, hash-verified
134
return
mac2str(
':'
.join(x.split(
':'
)[::-1]))
135
136
def
m2i(self, pkt, x):
137
return
str2mac(x[::-1])
138
139
140
class
BTLEChanMapField(XByteField):
Callers
1
getfield
Method · 0.45
Calls
1
str2mac
Function · 0.90
Tested by
no test coverage detected