Home
last modified time | relevance | path

Searched refs:FlagsField (Results 1 – 25 of 32) sorted by relevance

12

/external/scapy/scapy/contrib/
Dopenflow.py89 FlagsField("config", 0, 32, ofp_port_config),
91 FlagsField("state", 0, 8, ofp_port_state),
92 FlagsField("curr", 0, 32, ofp_port_features),
93 FlagsField("advertised", 0, 32, ofp_port_features),
94 FlagsField("supported", 0, 32, ofp_port_features),
95 FlagsField("peer", 0, 32, ofp_port_features) ]
102 fields_desc= [ FlagsField("wildcards1", None, 12, [ "DL_VLAN_PCP",
106 FlagsField("wildcards2", None, 8, [ "IN_PORT",
675 FlagsField("capabilities", 0, 32, [ "FLOW_STATS",
683 FlagsField("actions", 0, 32, ofp_action_types_flags),
[all …]
Dopenflow3.py83 FlagsField("bitmap", 0, 32, [ "Type 0",
153 FlagsField("config", 0, 32, ofp_port_config),
154 FlagsField("state", 0, 32, ofp_port_state),
155 FlagsField("curr", 0, 32, ofp_port_features),
156 FlagsField("advertised", 0, 32, ofp_port_features),
157 FlagsField("supported", 0, 32, ofp_port_features),
158 FlagsField("peer", 0, 32, ofp_port_features),
285 ofp_oxm_fields[i].append(FlagsField(org[1], 0, 8*org[2], ipv6flags))
2015 FlagsField("capabilities", 0, 32, [ "FLOW_STATS",
2149 FlagsField("flags", 0, 16, [ "SEND_FLOW_REM",
[all …]
Dospf.py40 class OSPFOptionsField(FlagsField):
46 FlagsField.__init__(self, name, default, size, names)
137 class LLS_ExtendedOptionsField(FlagsField):
143 FlagsField.__init__(self, name, default, size, names)
301 FlagsField("flags", 0, 8, ["B", "E", "V", "W", "Nt"]),
361 FlagsField("ebit", 0, 1, ["E"]),
380 FlagsField("dbdescr", 0, 8, ["MS", "M", "I", "R", "4", "3", "2", "1"]),
464 class OSPFv3OptionsField(FlagsField):
470 FlagsField.__init__(self, name, default, size, names)
560 FlagsField("flags", 0, 8, ["B", "E", "V", "W"]),
[all …]
Dppi_cace.py83 FlagsField('Pkt_Flags',0, -16, _PPIDot11CommonPktFlags),
86 FlagsField('Ch_Flags', 0, -16, _PPIDot11CommonChFlags),
Deigrp.py311 FlagsField("flags", 0x000d, 16, _EIGRP_STUB_FLAGS)]
357 FlagsField("flags", 0, 8, _EIGRP_EXTROUTE_FLAGS),
396 FlagsField("flags", 0, 8, _EIGRP_EXTROUTE_FLAGS),
469 FlagsField("flags", 0, 32, _EIGRP_FLAGS),
Dppi_geotag.py234 class HCSIFlagsField(FlagsField):
334 GPS_Fields = [FlagsField("GPSFlags", None, -32, _hcsi_gps_flags),
363 FlagsField("VectorChars", None, -32, _hcsi_vector_char_flags),
433 ANT_Fields = [FlagsField("AntennaFlags", None, -32, _hcsi_antenna_flags),
Disis.py226 class ISIS_CircuitTypeField(FlagsField):
231 FlagsField.__init__(self, name, default, size, names)
791 FlagsField("typeblock", 0x03, 8, ["L1", "L2", "OL", "ADef", "ADel", "AExp", "AErr", "P"]),
Dikev2.py415FlagsField("flags",0, 8, ["res0","res1","res2","Initiator","Version","Response","res6","res7"]),
479 FlagsField("flags",0, 8, ["critical","res1","res2","res3","res4","res5","res6","res7"]),
Dpnio_rtc.py32 FlagsField,\
215 FlagsField("dataStatus", 0x35, 8, _PNIO_DS_FLAGS),
Dcdp.py198 FlagsField("cap", 0, 32, _cdp_capabilities) ]
Dskinny.py382 FlagsField('restriction', 0, 16, _skinny_message_callinfo_restrictions),
Dbgp.py34 IPField, FlagsField, ConditionalField,
2012 FlagsField("type_flags", 0x80, 8, [
/external/scapy/scapy/layers/
Dvxlan.py14 from scapy.fields import FlagsField, XByteField, ThreeBytesField, \
24 FlagsField("flags", 0x8, 8,
45 FlagsField("gpflags", 0, 8, _GP_FLAGS),
Dpptp.py15 from scapy.fields import ByteEnumField, FieldLenField, FlagsField, IntField, IntEnumField,\
93 FlagsField("framing_capabilities", 0, 32,
95 FlagsField("bearer_capabilities", 0, 32,
120 FlagsField("framing_capabilities", 0, 32,
122 FlagsField("bearer_capabilities", 0, 32,
Dcan.py15 from scapy.fields import BitField, FieldLenField, FlagsField, StrLenField, \
26 FlagsField("flags", 0, 3, ["extended", "remote_transmission_request",
Ddot11.py95FlagsField('present', None, -32, ['TSFT','Flags','Rate','Channel','FHSS','dBm_AntSignal',
119 FlagsField("FCfield", 0, 8, ["to-DS", "from-DS", "MF", "retry",
214 FlagsField("cap", 0, 16, capability_list) ]
241 fields_desc = [ FlagsField("cap", 0, 16, capability_list),
247 fields_desc = [ FlagsField("cap", 0, 16, capability_list),
253 fields_desc = [ FlagsField("cap", 0, 16, capability_list),
268 FlagsField("cap", 0, 16, capability_list) ]
Dlltd.py15 from scapy.fields import BitField, FlagsField, ByteField, ByteEnumField, \
207 FlagsField("flags", 0, 2, "ME"),
250 FlagsField("flags", 0, 2, "RM"),
365 FlagsField("flags", 0, 5, "PXFML"),
737 FlagsField("flags", 0, 3, "EQP"),
Dntp.py18 XByteField, SignedByteField, FlagsField, ShortField, LEShortField, IntField,\
944 FlagsField("flags", 0, 8, _peer_flags),
964 FlagsField("flags", 0, 8, _peer_flags),
986 FlagsField("flags", 0, 8, _peer_flags),
1059 FlagsField("flags", 0, 16, _peer_flags),
1119 FlagsField("flags", 0, 8, _sys_info_flags),
1234 FlagsField("flags", 0, 8, _conf_peer_flags),
1285 FlagsField("flags", 0, 16, _restrict_flags),
Dl2tp.py23FlagsField("hdr", 0, 12, ['res00', 'res01', 'res02', 'res03', 'priority', 'offset',
Dsmb.py209 FlagsField("CompBulk",0,2,"CB"),
250 FlagsField("CompBulk",0,2,"CB"),
Dnetflow.py123 FlagsField("tcpFlags", 0x2, 8, "FSRPAUEC"),
Disakmp.py190FlagsField("flags",0, 8, ["encryption","commit","auth_only","res3","res4","res5","res6","res7"]), …
Ddhcp.py42 FlagsField("flags", 0, 16, "???????????????B"),
Ddhcp6.py25 FlagsField, IntEnumField, IntField, MACField, PacketField, \
826 FlagsField("flags", 0, 3, "SON" ),
/external/scapy/scapy/
Dfields.py1211 class FlagsField(BitField): class
1254 return self._fixup_val(super(FlagsField, self).any2i(pkt, x))
1257 return self._fixup_val(super(FlagsField, self).m2i(pkt, x))
1260 return self._fixup_val(super(FlagsField, self).i2h(pkt, x))
1274 __slots__ = FlagsField.__slots__ + ["depends_on"]

12