MCPcopy 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
140class BTLEChanMapField(XByteField):

Callers 1

getfieldMethod · 0.45

Calls 1

str2macFunction · 0.90

Tested by

no test coverage detected