Changeset 3419 for branch/UMPA/umpa/protocols/TCP.py
- Timestamp:
- 08/12/08 18:34:09 (5 years ago)
- Files:
-
- 1 modified
-
branch/UMPA/umpa/protocols/TCP.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branch/UMPA/umpa/protocols/TCP.py
r3411 r3419 487 487 pheader = PseudoHeader(self.protocol_id, total_length) 488 488 # generate raw value of it 489 pheader_ bits= pheader._get_raw(protocol_container,489 pheader_raw = pheader._get_raw(protocol_container, 490 490 protocol_bits)[0] 491 491 # added pseudo header bits to cksum value 492 cksum |= pheader_ bits<< offset492 cksum |= pheader_raw << offset 493 493 494 494 # finally, calcute and apply checksum
