English subtitles

← SHORT LONG sequence cs348 unit7

Get Embed Code
1 Language

Showing Revision 1 created 04/14/2013 by Cogi-Admin.

  1. Here is the solution. First, you need to extend the pcktseqkind and add
  2. SHORT_LONG as a new enumerated value. Then, you can extend the SHORT_LONG
  3. pkt_sequence and define what is so specific about that sequence. So here, we
  4. added a field and the constraint on this field, destination and then, we
  5. generate two packets. One time the packet length is short and the other time
  6. the packet length is long. Both packets go to the same address as defined in
  7. the destination. So when you generate this sequence, when you do this sequence,
  8. you can constrain the destination, and then in this sequence, the packets are
  9. done according to this pattern.