Home
last modified time | relevance | path

Searched refs:ATMT (Results 1 – 9 of 9) sorted by relevance

/external/scapy/scapy/layers/tls/
Dautomaton_cli.py25 from scapy.automaton import ATMT
128 @ATMT.state(initial=True)
133 @ATMT.state()
146 @ATMT.state()
165 @ATMT.state()
169 @ATMT.condition(PREPARE_CLIENTFLIGHT1)
174 @ATMT.state()
178 @ATMT.condition(ADDED_CLIENTHELLO)
183 @ATMT.state()
187 @ATMT.state()
[all …]
Dautomaton_srv.py24 from scapy.automaton import ATMT
126 @ATMT.state(initial=True)
133 @ATMT.state()
150 @ATMT.state()
166 @ATMT.state()
182 @ATMT.state()
187 @ATMT.state()
193 @ATMT.condition(RECEIVED_CLIENTFLIGHT1, prio=1)
198 @ATMT.state()
202 @ATMT.condition(HANDLED_CLIENTHELLO)
[all …]
/external/scapy/scapy/layers/
Dtftp.py136 @ATMT.state(initial=1)
152 @ATMT.state()
157 @ATMT.receive_condition(WAITING)
165 @ATMT.receive_condition(WAITING, prio=1)
171 @ATMT.timeout(WAITING, 3)
174 @ATMT.action(timeout_waiting)
178 @ATMT.action(receive_data)
186 @ATMT.state()
199 @ATMT.state(error=1)
205 @ATMT.state(final=1)
[all …]
Dinet.py28 from scapy.automaton import Automaton,ATMT
1526 @ATMT.state(initial=1)
1530 @ATMT.state()
1534 @ATMT.state()
1538 @ATMT.state()
1542 @ATMT.state(final=1)
1547 @ATMT.condition(START)
1550 @ATMT.action(connect)
1557 @ATMT.receive_condition(SYN_SENT)
1561 @ATMT.action(synack_received)
[all …]
/external/scapy/scapy/modules/krack/
Dautomaton.py11 from scapy.automaton import ATMT, Automaton
385 @ATMT.state(initial=True)
389 @ATMT.state()
393 @ATMT.state()
397 @ATMT.state()
401 @ATMT.state()
405 @ATMT.state()
409 @ATMT.state()
413 @ATMT.timeout(ANALYZE_DATA, 1)
417 @ATMT.state()
[all …]
/external/scapy/scapy/
Dautomaton.py242 class ATMT: class
274 f.atmt_type = ATMT.STATE
280 return ATMT.NewStateRequested(f, self, *args, **kargs)
283 state_wrapper.atmt_type = ATMT.STATE
296 f.atmt_type = ATMT.ACTION
303 f.atmt_type = ATMT.CONDITION
312 f.atmt_type = ATMT.RECV
321 f.atmt_type = ATMT.IOEVENT
332 f.atmt_type = ATMT.TIMEOUT
416 if m.atmt_type == ATMT.STATE:
[all …]
/external/scapy/doc/scapy/
Dadvanced_usage.rst510 @ATMT.state(initial=1)
514 @ATMT.condition(BEGIN)
519 @ATMT.action(wait_for_nothing)
523 @ATMT.state(final=1)
529 * ``ATMT.state`` that is used to indicate that a method is a state, and that can
531 * ``ATMT.condition`` that indicate a method to be run when the automaton state
533 * ``ATMT.action`` binds a method to a transition and is run when the transition is taken.
555 The ``ATMT.state`` decorator transforms a method into a function that returns an exception. If you …
559 @ATMT.state()
565 @ATMT.receive_condition(ANOTHER_STATE)
[all …]
/external/scapy/doc/notebooks/
DScapy in 15 minutes.ipynb1212 "- states: using the `@ATMT.state` decorator. They usually do nothing\n",
1213 …"- conditions: using the `@ATMT.condition` and `@ATMT.receive_condition` decorators. They describe…
1214 …"- actions: using the `ATMT.action` decorator. They describe what to do, like sending a back, when…
1241 " @ATMT.state(initial=1)\n",
1245 " @ATMT.state()\n",
1249 " @ATMT.state()\n",
1254 " @ATMT.state()\n",
1259 " @ATMT.state()\n",
1263 " @ATMT.state(final=1)\n",
1267 " @ATMT.condition(BEGIN)\n",
[all …]
/external/scapy/test/
Dregression.uts1193 @ATMT.state(initial=1)
1196 @ATMT.state()
1199 @ATMT.condition(MAIN, prio=-1)
1203 @ATMT.condition(MAIN)
1207 @ATMT.condition(MAIN)
1211 @ATMT.state(final=1)
1214 @ATMT.action(go_to_END)
1246 @ATMT.state()
1267 @ATMT.condition(ATMT1.MAIN)
1289 @ATMT.action(ATMT1.go_to_END)
[all …]