Home
last modified time | relevance | path

Searched refs:hex_bytes (Results 1 – 13 of 13) sorted by relevance

/external/scapy/scapy/contrib/
Dgtp_v2.uts24 gtp = Ether(hex_bytes(h))
29 gtp = Ether(hex_bytes(h))
34 gtp = Ether(hex_bytes(h))
39 gtp = Ether(hex_bytes(h))
49 gtp = Ether(hex_bytes(h))
70 gtp = Ether(hex_bytes(h))
81 gtp = Ether(hex_bytes(h))
91 gtp = Ether(hex_bytes(h))
102 gtp = Ether(hex_bytes(h))
112 gtp = Ether(hex_bytes(h))
[all …]
Dgtp.uts31 gtp = Ether(hex_bytes(h))
37 gtp = Ether(hex_bytes(h))
42 gtp = Ether(hex_bytes(h))
52 gtp = Ether(hex_bytes(h))
62 gtp = Ether(hex_bytes(h))
72 gtp = Ether(hex_bytes(h))
82 gtp = Ether(hex_bytes(h))
92 gtp = Ether(hex_bytes(h))
102 gtp = Ether(hex_bytes(h))
112 gtp = Ether(hex_bytes(h))
[all …]
Dpnio_rtc.uts69 raw(UDP(sport=0x1234) / ProfinetIO(frameID=0x8002) / PNIORealTime()) == hex_bytes('12348892001a0000…
79 )) == hex_bytes('0102030400800005062012345678800012342603')
82 p = PNIORealTime(hex_bytes('0102030400800005062012345678800012342603'))
85 PNIORealTimeRawData(load=hex_bytes('010203040080000506201234567880'))
97 p = Ether(hex_bytes('000102030405060708090a0b889280020102030400800005062012345678800012342603'))
113 packets = [Ether(hex_bytes('0090274ee3fc000991442017080045000128000c00004011648f0a0a00810a0a0096889…
114 …Ether(hex_bytes('0009914420170090274ee3fc0800450000c0b28800008011727a0a0a00960a0a0081061e889400ac6…
Dpnio.uts22 p = Ether(hex_bytes('ffffffffffff00000000000088920102'))
26 p = UDP(hex_bytes('12348892000a00000102'))
30 p = UDP(hex_bytes('12348892000c000080020102'))
Disis.py87 return b"".join(hex_bytes(x) for x in area.split("."))
100 return b"".join(hex_bytes(x) for x in sysid.split("."))
108 return isis_sysid2str(nodeid[:-3]) + hex_bytes(nodeid[-2:])
116 return isis_nodeid2str(lspid[:-3]) + hex_bytes(lspid[-2:])
Dppi.uts223 a = hex_bytes(b'00008a02690000003275900002029000ff03007002000000368999839cb5323fa0584b6b406e4a6b4f5…
/external/scapy/test/
Dpptp.uts10 data = hex_bytes('45c00064000f0000ff2f1647c0a80c01c0a8170300000800')
27 data = hex_bytes('4500003c18324000402f0e5a0a0000020a0000063001880b001c9bf500000000ff03'\
57 pkt_data_ref = hex_bytes('4500003600010000402ff944c0a80001c0a800023081880b001200000000002f000000'\
85 lcp_echo_request_data = hex_bytes('c021090700080000002a')
108 conf_req_ref_data = hex_bytes('c021012a000a050600001092')
126 conf_ack_ref_data = hex_bytes('c021022a000a050600001092')
139 conf_req_pkt = PPP(hex_bytes('c021012a000a050600001092'))
149 conf_nak_ref_data = hex_bytes('c021032a000e010405dc0206ffff0000')
164 conf_req_pkt = PPP(hex_bytes('c021012a000e010405dc0206ffff0000'))
175 conf_reject_ref_data = hex_bytes('c021042a000b0d070274657374')
[all …]
Dbluetooth.uts6 expected_cmd_raw_data = hex_bytes("010e2000")
11 expected_cmd_raw_data = hex_bytes("01060403341213")
16 expected_cmd_raw_data = hex_bytes("0113200e47000a00140001003c000100ffff")
26 evt_raw_data = hex_bytes("043e0a03004800140001003c00")
38 hex_bytes("043e2b020100016522c00181781f0201020303d9fe1409" \
50 hex_bytes("043e2302010401be5e0eb9f04f1716ff5401005f423331" \
/external/scapy/scapy/modules/krack/
Dcrypto.py10 from scapy.compat import hex_bytes, orb
268 TA = [orb(e) for e in hex_bytes(pkt.addr2.replace(':', ''))]
289 TA = [orb(e) for e in hex_bytes(mac.replace(':', ''))]
327 sa = hex_bytes(source.replace(":", "")) # Source MAC
328 da = hex_bytes(dest.replace(":", "")) # Dest MAC
341 sa = hex_bytes(source.replace(":", "")) # Source MAC
342 da = hex_bytes(dest.replace(":", "")) # Dest MAC
Dautomaton.py14 from scapy.compat import raw, hex_bytes, chb
170 amac = hex_bytes(self.mac.replace(":", ""))
171 smac = hex_bytes(self.client.replace(":", ""))
/external/scapy/scapy/
Dpton_ntop.py60 result += hex_bytes(part.rjust(4, "0"))
Dcompat.py121 def hex_bytes(x): function
/external/scapy/scapy/layers/tls/crypto/
Dpkcs1.py56 return hex_bytes(fmt % n)