Home
last modified time | relevance | path

Searched refs:count_of (Results 1 – 19 of 19) sorted by relevance

/external/scapy/scapy/contrib/
Dmodbus.py52 BitFieldLenField("byteCount", None, 8, count_of="coilStatus"),
85 BitFieldLenField("byteCount", None, 8, count_of="inputStatus"),
108 … BitFieldLenField("byteCount", None, 8, count_of="registerVal", adjust=lambda pkt, x: x*2),
132 … BitFieldLenField("byteCount", None, 8, count_of="registerVal", adjust=lambda pkt, x: x*2),
211 BitFieldLenField("byteCount", None, 8, count_of="outputsValue"),
235 BitFieldLenField("quantityRegisters", None, 16, count_of="outputsValue",),
236 … BitFieldLenField("byteCount", None, 8, count_of="outputsValue", adjust=lambda pkt, x: x*2),
308 …fields_desc = [BitFieldLenField("respLength", None, 8, count_of="recData", adjust=lambda pkt, p: p…
427 … BitFieldLenField("writeQuantityRegisters", None, 16, count_of="writeRegistersValue"),
428 … BitFieldLenField("byteCount", None, 8, count_of="writeRegistersValue", adjust=lambda pkt, x: x*2),
[all …]
Digmpv3.py119 FieldLenField("numsrc", None, count_of="srcaddrs"),
138 FieldLenField("numsrc", None, count_of="srcaddrs"),
154 FieldLenField("numgrp", None, count_of="records"),
Dospf.py303 FieldLenField("linkcount", None, count_of="linklist"),
413 fields_desc = [FieldLenField("lsacount", None, fmt="!I", count_of="lsalist"),
671 FieldLenField("prefixes", None, count_of="prefixlist", fmt="I"),
685 FieldLenField("prefixes", None, count_of="prefixlist", fmt="H"),
726 fields_desc = [FieldLenField("lsacount", None, fmt="!I", count_of="lsalist"),
Dtacacs.py215 FieldLenField('arg_cnt', None, fmt='!B', count_of='arg_len_list'),
238 FieldLenField('arg_cnt', None, fmt='!B', count_of='arg_len_list'),
282 FieldLenField('arg_cnt', None, fmt='!B', count_of='arg_len_list'),
Dnsh.py65 count_of='ContextHeaders',
Dhomeplugav.py179 FieldLenField("VersionLen", None, count_of="DeviceVersion", fmt="B"),
471 FieldLenField("DataLen", None, count_of="ModuleData", fmt="<H"),
494 FieldLenField("DataLen", None, count_of="ModuleData", fmt="<H"),
1194 FieldLenField("BlockLen", None, count_of="ConfigurationBlock", fmt="B"),
Ddiameter.py59 count_of=None, argument
64 self.count_of = count_of
Disis.py622 FieldLenField("len", None, count_of="nlpids", fmt="B"),
Dbgp.py716 count_of="entries",
/external/scapy/scapy/layers/
Drtp.py32 FieldLenField("header_len", None, count_of="header", fmt="H"),
41 BitFieldLenField('numsync', None, 4, count_of='sync'),
Dvrrp.py27 FieldLenField("ipcount", None, count_of="addrlist", fmt="B"),
58 FieldLenField("ipcount", None, count_of="addrlist", fmt="B"),
Dlltd.py159 FieldLenField("stations_count", None, count_of="stations_list",
183 FieldLenField("descs_count", None, count_of="descs_list",
Dsctp.py555 FieldLenField("n_gap_ack", None, count_of="gap_ack_list"),
556 FieldLenField("n_dup_tsn", None, count_of="dup_tsn_list"),
Dnetflow.py310 FieldLenField("fieldCount", None, count_of="template_fields"),
Dinet6.py982 FieldLenField("len", None, count_of="addresses", fmt="B",
1895 FieldLenField("len", None, count_of="dns", fmt="B",
2059 FieldLenField("len", None, count_of="addrlist", fmt="B",
/external/scapy/scapy/
Dfields.py757 …def __init__(self, name, default, length_of=None, fmt = "H", count_of=None, adjust=lambda pkt,x:x… argument
760 self.count_of = count_of
771 fld,fval = pkt.getfield_and_val(self.count_of)
896 def __init__(self, name, default, size, length_of=None, count_of=None, adjust=lambda pkt,x:x): argument
899 self.count_of = count_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…
/external/scapy/test/
Dfields.uts173 fields_desc = [ FieldLenField("len", None, count_of="lst", fmt="B"),
224 fields_desc=[ FieldLenField("len", None, count_of="plist"),
262 fields_desc=[ FieldLenField("len", None, count_of="plist"),
301 fields_desc = [ FieldLenField("len1", None, count_of="plist", fmt="H",
353 fields_desc=[ FieldLenField("len", None, count_of="plist"),
392 fields_desc = [ FieldLenField("len1", None, count_of="plist",fmt="H",
Dregression.uts9300 FieldLenField("BitCount", None, fmt="H", count_of="Values"),
/external/scapy/doc/scapy/
Dbuild_dissect.rst959 …is done using either the ``length_of`` parameter or the ``count_of`` parameter. The ``count_of`` p…
967 FieldLenField("the_lenfield", None, count_of="the_varfield")
1002 fields_desc=[ FieldLenField("len", None, count_of="plist"),
1007 FieldLenField("the_lenfield", None, count_of="the_varfield"),
1018 … fields_desc = [ FieldLenField("len1", None, count_of="plist",fmt="H", adjust=lambda pkt,x:x+2),