Home
last modified time | relevance | path

Searched refs:length_of (Results 1 – 25 of 43) sorted by relevance

12

/external/scapy/scapy/layers/
Dsctp.py262 FieldLenField("len", None, length_of="data",
280 FieldLenField("len", None, length_of="cookie",
288 FieldLenField("len", None, length_of="param",
301 FieldLenField("len", None, length_of="hostname",
309 FieldLenField("len", None, length_of="addr_type_list",
322 FieldLenField("len", None, length_of="random",
330 FieldLenField("len", None, length_of="chunk_list",
339 FieldLenField("len", None, length_of="HMAC_functions_list",
348 FieldLenField("len", None, length_of="supported_extensions",
365 FieldLenField("len", None, length_of="addr",
[all …]
Dppp.py247 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
267 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
274 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
281 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
288 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
295 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
303 … FieldLenField("len" , None, fmt="H", length_of="options", adjust=lambda p,x:x+4 ),
315 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+2),
333 FieldLenField("len", None, length_of="data", fmt="B", adjust=lambda p,x:x+6),
343 … FieldLenField("len" , None, fmt="H", length_of="options", adjust=lambda p,x:x+4 ),
[all …]
Ddhcp6.py277 FieldLenField("optlen", None, length_of="data", fmt="!H"),
305 FieldLenField("optlen", None, length_of="duid", fmt="!H"),
320 FieldLenField("optlen", None, length_of="iaaddropts",
354 FieldLenField("optlen", None, length_of="ianaopts",
368 FieldLenField("optlen", None, length_of="iataopts",
417 FieldLenField("optlen", None, length_of="reqopts", fmt="!H"),
487 FieldLenField("optlen", None, length_of="authinfo",
527 FieldLenField("optlen", None, length_of="statusmsg",
568 fields_desc = [ FieldLenField("len", None, length_of="data"),
578 length_of="userclassdata"),
[all …]
Dnetflow.py320 FieldLenField("length", None, length_of="templates", adjust=lambda pkt,x:x+4),
334 FieldLenField("length", None, length_of="records", adjust = lambda pkt,x:x+4),
403 FieldLenField("option_scope_length", None, length_of="scopes"),
404 FieldLenField("option_field_length", None, length_of="options"),
414 FieldLenField("length", None, length_of="records", adjust = lambda pkt,x:x+4),
Deap.py291 FieldLenField("len", None, fmt="H", length_of="optional_name",
294 FieldLenField("value_size", None, fmt="B", length_of="value"),
309 FieldLenField("len", None, fmt="H", length_of="tls_data",
331 FieldLenField("len", None, fmt="H", length_of="data",
354 FieldLenField("len", None, fmt="H", length_of="data",
Dlltd.py292 FieldLenField("len", None, length_of="value", fmt="B"),
363 FieldLenField("len", None, length_of="reserved2", fmt="B",
714 FieldLenField("len", None, length_of="hostname", fmt="B"),
727 FieldLenField("len", None, length_of="uuid", fmt="B"),
Dcan.py30 FieldLenField("length", None, length_of="data", fmt="B"),
Ddns.py373 FieldLenField("rdlen", None, length_of="rdata", fmt="H"),
619 FieldLenField("saltlength", 0, fmt="!B", length_of="salt"),
621 FieldLenField("hashlength", 0, fmt="!B", length_of="nexthashedownername"),
637 FieldLenField("saltlength", 0, fmt="!B", length_of="salt"),
706 FieldLenField("mac_len", 20, fmt="!H", length_of="mac_data"),
710 FieldLenField("other_len", 0, fmt="!H", length_of="other_data"),
Dinet6.py774 FieldLenField("optlen", None, length_of="optdata", fmt="B"),
798 FieldLenField("optlen", None, length_of="optdata", fmt="B"),
956 FieldLenField("len", None, length_of="options", fmt="B",
969 FieldLenField("len", None, length_of="options", fmt="B",
1047 FieldLenField("len", None, length_of="padding", fmt="B"),
1678 FieldLenField("len",None,length_of="data",fmt="B",
1750 FieldLenField("len", None, length_of="pkt", fmt="B",
1883 FieldLenField("len", None, length_of="prefix", fmt="B",
1963 FieldLenField("len", None, length_of="searchlist", fmt="B",
2703 FieldLenField("olen", None, length_of="id", fmt="B",
[all …]
/external/scapy/scapy/contrib/
Dtacacs.py133 FieldLenField('user_len', None, fmt='!B', length_of='user'),
134 FieldLenField('port_len', None, fmt='!B', length_of='port'),
135 FieldLenField('rem_addr_len', None, fmt='!B', length_of='rem_addr'),
136 FieldLenField('data_len', None, fmt='!B', length_of='data'),
155 FieldLenField('server_msg_len', None, fmt='!H', length_of='server_msg'),
156 FieldLenField('data_len', None, fmt='!H', length_of='data'),
170 fields_desc = [FieldLenField('user_msg_len', None, fmt='!H', length_of='user_msg'),
171 FieldLenField('data_len', None, fmt='!H', length_of='data'),
212 FieldLenField('user_len', None, fmt='!B', length_of='user'),
213 FieldLenField('port_len', None, fmt='!B', length_of='port'),
[all …]
Disis.py246 FieldLenField("len", None, length_of="val", fmt="B"),
288 FieldLenField("len", None, length_of= "address", fmt="B"),
295 FieldLenField("len", None, length_of= "address", fmt="B"),
310 FieldLenField("len", None, length_of= "address", fmt="B"),
317 FieldLenField("len", None, length_of= "address", fmt="B"),
342 FieldLenField("len", None, length_of= "tags", fmt="B"),
349 FieldLenField("len", None, length_of= "tags", fmt="B"),
430 fields_desc = [FieldLenField("arealen", None, length_of="areaid", fmt="B"),
440 FieldLenField("len", None, length_of= "areas", fmt="B"),
447 … FieldLenField("len", None, length_of= "password", adjust=lambda pkt,x: x + 1, fmt="B"),
[all …]
Dmqtt.py84 VariableFieldLenField("len", None, length_of="len",
92 FieldLenField("length", None, length_of="protoname"),
110 FieldLenField("clientIdlen", None, length_of="clientId"),
114 ConditionalField(FieldLenField("wtoplen", None, length_of="willtopic"),
119 ConditionalField(FieldLenField("wmsglen", None, length_of="willmsg"),
124 ConditionalField(FieldLenField("userlen", None, length_of="username"),
129 ConditionalField(FieldLenField("passlen", None, length_of="password"),
157 FieldLenField("length", None, length_of="topic"),
201 FieldLenField("length", None, length_of="topic"),
Dlldp.py310 BitFieldLenField('_length', None, 9, length_of='id',
359 BitFieldLenField('_length', None, 9, length_of='id',
443 BitFieldLenField('_length', None, 9, length_of='description'),
454 BitFieldLenField('_length', None, 9, length_of='system_name'),
465 BitFieldLenField('_length', None, 9, length_of='description'),
628 BitFieldLenField('_length', None, 9, length_of='management_address',
632 length_of='management_address',
643 BitFieldLenField('_oid_string_length', None, 8, length_of='object_id'),
Dsend.py62 … FieldLenField("len",None,length_of="data",fmt="B", adjust = lambda pkt,x: (x)/8),
75 … FieldLenField("len",None,length_of="data",fmt="B", adjust = lambda pkt,x: (x)/8),
83 … FieldLenField("len",None,length_of="data",fmt="B", adjust = lambda pkt,x: (x)/8),
Dppi.py47 … FieldLenField('pfh_length', None, length_of="value", fmt='<H', adjust=lambda p,x:x+4),
88 … FieldLenField('pph_len', None, length_of="PPIFieldHeaders", fmt="<H", adjust=lambda p,x:x+8 ),
Dospf.py130 FieldLenField("len", None, length_of=lambda x: x.val),
156 FieldLenField("len", 20, fmt="B", length_of=lambda x: x.authdata),
601 FieldLenField("prefixlen", None, length_of="prefix", fmt="B"),
634 FieldLenField("prefixlen", None, length_of="prefix", fmt="B"),
650 fields_desc = [FieldLenField("prefixlen", None, length_of="prefix", fmt="B"),
Dmodbus.py265 BitFieldLenField("byteCount", None, 8, length_of="slaveId"),
347 … BitFieldLenField("recordLength", None, 16, length_of="recordData", adjust=lambda pkt, p: p//2),
699 BitFieldLenField("length", None, 8, length_of="value"),
Dhttp2.py554 def __init__(self, name, default, size, length_of, adjust=lambda x: x): argument
576 self._length_of = length_of
1298 FieldUVarLenField('len', None, 7, length_of='data'),
1441 fields.FieldLenField('padlen', None, length_of='padding', fmt="B"),
1521 fields.FieldLenField('padlen', None, length_of='padding', fmt='B'),
1587 fields.FieldLenField('padlen', None, length_of='padding', fmt='B'),
1800 fields.FieldLenField('padlen', None, length_of='padding', fmt='B'),
/external/scapy/scapy/layers/tls/
Dextensions.py64 FieldLenField("len", None, fmt="!H", length_of="val"),
135 FieldLenField("namelen", None, length_of="servername"),
159 FieldLenField("len", None, length_of="servernames",
162 length_of="servernames"),
208 FieldLenField("dnlen", None, length_of="dn"),
241 FieldLenField("talen", None, length_of="ta"),
254 fields_desc = [ FieldLenField("respidlen", None, length_of="respid"),
265 fields_desc = [ FieldLenField("respidlen", None, length_of="respid"),
268 FieldLenField("reqextlen", None, length_of="reqext"),
297 FieldLenField("umlen", None, fmt="B", length_of="um"),
[all …]
Dhandshake.py228 FieldLenField("sidlen", None, fmt="B", length_of="sid"),
233 length_of="ciphers"),
238 FieldLenField("complen", None, fmt="B", length_of="comp"),
245 _ExtensionsLenField("extlen", None, length_of="ext"),
316 FieldLenField("sidlen", None, length_of="sid", fmt="B"),
326 _ExtensionsLenField("extlen", None, length_of="ext"),
402 _ExtensionsLenField("extlen", None, length_of="ext"),
455 _ExtensionsLenField("extlen", None, length_of="ext"),
468 _ExtensionsLenField("extlen", None, length_of="ext"),
483 def __init__(self, name, default, length_of=None, adjust=lambda pkt, x: x): argument
[all …]
Dkeyexchange.py149 length_of="sig_val"),
286 fields_desc = [ FieldLenField("dh_plen", None, length_of="dh_p"),
289 FieldLenField("dh_glen", None, length_of="dh_g"),
292 FieldLenField("dh_Yslen", None, length_of="dh_Ys"),
379 fields_desc = [ FieldLenField("alen", None, length_of="a", fmt="B"),
381 FieldLenField("blen", None, length_of="b", fmt="B"),
390 fields_desc = [ FieldLenField("klen", None, length_of="k", fmt="B"),
398 fields_desc = [ FieldLenField("k1len", None, length_of="k1", fmt="B"),
400 FieldLenField("k2len", None, length_of="k2", fmt="B"),
402 FieldLenField("k3len", None, length_of="k3", fmt="B"),
[all …]
Dhandshake_sslv2.py108 length_of="ciphers"),
110 length_of="sid"),
112 length_of="challenge"),
168 length_of="cert"),
170 length_of="ciphers"),
172 length_of="connection_id"),
239 length_of="clearkey"),
241 length_of="encryptedkey"),
243 length_of="keyarg"),
440 length_of="certdata"),
[all …]
Dkeyexchange_tls13.py39 FieldLenField("kxlen", None, length_of="key_exchange"),
133 length_of="client_shares"),
231 FieldLenField("encstatelen", None, length_of="encstate"),
250 length_of="identity"),
258 length_of="binder"),
268 length_of="identities"),
272 length_of="binders"),
/external/skqp/src/gpu/
DGrTRecorder.h96 return &ptr[length_of<TItem>::kValue]; in GetDataForItem()
100 return &ptr[length_of<TItem>::kValue]; in GetDataForItem()
104 template<typename TItem> struct length_of { struct
120 sk_malloc_throw(sizeof(TAlign) * (length_of<MemBlock>::kValue + length))); in Alloc() argument
146 return reinterpret_cast<TAlign*>(this)[length_of<MemBlock>::kValue + i];
175 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in pop_back()
193 fLastItem = &(*fTailBlock)[fTailBlock->fBack - lastItemLength + length_of<Header>::kValue]; in pop_back()
204 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in alloc_back()
208 const int totalLength = length_of<Header>::kValue + length_of<TItem>::kValue + dataLength; in alloc_back()
223 void* rawPtr = &(*fTailBlock)[fTailBlock->fBack + length_of<Header>::kValue]; in alloc_back()
[all …]
/external/scapy/scapy/
Dfields.py757 …def __init__(self, name, default, length_of=None, fmt = "H", count_of=None, adjust=lambda pkt,x:x… argument
759 self.length_of = length_of
764 self.length_of = fld
767 if self.length_of is not None:
768 fld,fval = pkt.getfield_and_val(self.length_of)
896 def __init__(self, name, default, size, length_of=None, count_of=None, adjust=lambda pkt,x:x): argument
898 self.length_of = length_of
1120 …def __init__(self, name, default, length_of=None, fmt = "<H", count_of=None, adjust=lambda pkt,x:… argument
1121 …FieldLenField.__init__(self, name, default, length_of=length_of, fmt=fmt, count_of=count_of, fld=f…

12