Deployment Platform/Sneakernet/Packets format

From Sugar Labs
< Deployment Platform‎ | Sneakernet
Revision as of 02:02, 27 July 2012 by Alsroot (talk | contribs) (Created page with "Packets' structure: * '''PUSH''' packet: :* {{Code|type}}: {{Code|push}} :* {{Code|src}}: sender's identity to push from :* {{Code|[dst]}}: receiver's identity to push to, op...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Packets' structure:

  • PUSH packet:
  • type: push
  • src: sender's identity to push from
  • [dst]: receiver's identity to push to, optional for packets from master
  • sequence: Sequence associated with packet's payload
  • ACK packet:
  • type: ack
  • src: master's identity
  • dst: receiver's identity ack is intended for
  • push_sequence: original PUSH packet's sequence
  • pull_sequence: Sequence after merging original PUSH packet
  • PULL packet:
  • type: pull
  • src: sender's identity to pull to
  • dst: receiver's identity to pull from
  • sequence: Sequence to pull for