Home
last modified time | relevance | path

Searched refs:itemfmt (Results 1 – 2 of 2) sorted by relevance

/external/scapy/scapy/layers/tls/
Dhandshake.py136 def __init__(self, name, default, dico, length_from=None, itemfmt="!H"): argument
138 self.itemfmt = itemfmt
139 self.itemsize = struct.calcsize(itemfmt)
178 return b"".join(struct.pack(self.itemfmt, x) for x in val)
182 itemlen = struct.calcsize(self.itemfmt)
184 res.append(struct.unpack(self.itemfmt, m[:itemlen])[0])
235 _tls_cipher_suites, itemfmt="!H",
241 itemfmt="B",
323 itemfmt="B",
816 itemfmt="!B",
Dhandshake_sslv2.py82 self.itemfmt = b""