commit | 0278627f576832860af2d84e04e383ecaa92d74f | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Apr 08 18:02:24 2013 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Apr 09 17:14:40 2013 +0900 |
tree | 32e195850b333b077be9f7e998d445feeb4b39ec | |
parent | 41e758e33e6c3b43f363591d4113dea54a4330d9 [diff] |
Pass in the length to pseudo checksum functions Currently, the pseudo-header checksum calculation functions get the transport layer length from the IP header. This requires that the length be known at IP header construction time, which does not allow transport layer translation functions to change the length of the packet later. Have the transport functions pass in the size directly. Bug: 8276725 Change-Id: I76a93f5e66181bec21d68f779c68c54090a77c33