Searched refs:lhex (Results 1 – 6 of 6) sorted by relevance
/external/scapy/scapy/ |
D | fields.py | 300 return lhex(self.i2h(pkt, x)) 336 return lhex(self.i2h(pkt, x)) 361 return lhex(self.i2h(pkt, x)) 374 return lhex(self.i2h(pkt, x)) 907 return lhex(self.i2h(pkt,x)) 1049 return lhex(x)
|
D | utils.py | 75 def lhex(x): function 79 return "(%s)" % ", ".join(map(lhex, x)) 81 return "[%s]" % ", ".join(map(lhex, x))
|
/external/scapy/scapy/layers/ |
D | ntp.py | 24 from scapy.utils import lhex 66 return lhex(self.i2h(pkt, x))
|
D | bluetooth.py | 32 return lhex(self.i2h(pkt, x)) 38 return lhex(self.i2h(pkt, x))
|
/external/scapy/test/ |
D | fields.uts | 969 lambda x: 'Foo' if x == 0 else 'Bar' if x == 1 else lhex(x),
|
D | regression.uts | 244 = Test lhex function 245 assert(lhex(42) == "0x2a") 246 assert(lhex((28,7)) == "(0x1c, 0x7)") 247 assert(lhex([28,7]) == "[0x1c, 0x7]")
|