Commit Graph

19651 Commits

Author SHA1 Message Date
Mathieu Lacage
4b95d67bea optimize a bit AddHeader 2007-06-07 09:18:04 +02:00
Mathieu Lacage
a6382422df remove atStart arg to AddBig 2007-06-07 08:13:19 +02:00
Mathieu Lacage
e77c211955 remove ReadSmall and ReadExtra 2007-06-07 07:39:47 +02:00
Mathieu Lacage
8a3e4b7b14 ReadItems does not depend on ReadSmall & ReadExtra 2007-06-07 07:32:10 +02:00
Mathieu Lacage
a0901958a8 make some methods inline 2007-06-06 14:40:48 +02:00
Mathieu Lacage
8e0ccbb45a Update -> UpdateHead + UpdateTail 2007-06-06 14:38:52 +02:00
Mathieu Lacage
1608934b89 simplify a bit the small item logic 2007-06-06 14:32:17 +02:00
Mathieu Lacage
02763bf7cb fix bug introduced in commit 767 2007-06-06 14:19:21 +02:00
Mathieu Lacage
e5b63ce34d add counters 2007-06-06 14:14:22 +02:00
Mathieu Lacage
4ed6463d22 remove Update call from within AddSmall and AddBig 2007-06-06 14:11:22 +02:00
Mathieu Lacage
f348fc4fbc remove useless CanAdd 2007-06-06 13:56:42 +02:00
Mathieu Lacage
07489e7e9c a few micro-optimizations 2007-06-06 13:51:15 +02:00
Mathieu Lacage
eb6eea0f72 make all tests pass 2007-06-06 13:02:00 +02:00
Mathieu Lacage
b0a30b32bb implement ReplaceTail 2007-06-06 12:39:33 +02:00
Mathieu Lacage
2caaf90037 simplify calls to AddBig and AddSmall 2007-06-06 11:30:17 +02:00
Mathieu Lacage
929ea4dab0 share some code, implement AddAtEnd 2007-06-06 11:01:59 +02:00
Mathieu Lacage
f5ce4791d2 IUdp -> Udp 2007-06-06 10:54:58 +02:00
Mathieu Lacage
5698e745c9 fix a few bugs in ::RemoveAtEnd 2007-06-06 10:04:02 +02:00
Mathieu Lacage
8c03ce9e0c remove data from end of trailer, not start of header 2007-06-06 09:55:01 +02:00
Mathieu Lacage
113e6255ea simplify GetTotalSize 2007-06-06 09:45:23 +02:00
Mathieu Lacage
cbac246ffb fix simple bugs in RemoveAtEnd 2007-06-06 09:43:54 +02:00
Mathieu Lacage
e829515b02 fix fragment printing 2007-06-06 09:23:47 +02:00
Mathieu Lacage
3e511d1457 rewrite PacketHistory::RemoveAtstart 2007-06-06 09:13:21 +02:00
Mathieu Lacage
aabed928b1 make sure that we set the low bit for typeUid when writing a 'big' item 2007-06-06 08:54:11 +02:00
Mathieu Lacage
6816e303ec implement PacketHistory::RemoveAtStart 2007-06-06 08:49:15 +02:00
Mathieu Lacage
1bbf7ce1a2 when doing a copy of a buffer, make sure to clear the prev and next fields 2007-06-05 21:48:26 +02:00
Mathieu Lacage
969ff1267e the mask to filter out the low bit is 0xfe, not 0xfd 2007-06-05 18:28:37 +02:00
Mathieu Lacage
3634046dc7 fix a bunch of buggy asserts 2007-06-05 17:35:22 +02:00
Mathieu Lacage
c3ff0ad584 fix the list iteration logic 2007-06-05 16:40:05 +02:00
Mathieu Lacage
ebfe75384c rename begin to head and end to tail 2007-06-05 16:36:53 +02:00
Mathieu Lacage
bd1dcf3f97 fix field ordering. 2007-06-05 16:33:45 +02:00
Mathieu Lacage
d5e147d400 deal with packet with zero headers correctly 2007-06-05 15:59:07 +02:00
Mathieu Lacage
35dbade0a9 implement PacketHistory::Print 2007-06-05 15:47:29 +02:00
Mathieu Lacage
dc62fabc0b fix addition of a trailer or a header 2007-06-05 14:06:58 +02:00
Mathieu Lacage
47f2db1e23 a new implementation of the PacketHistory API 2007-06-05 13:44:43 +02:00
Mathieu Lacage
967b3f34e9 IIpv4 -> Ipv4 2007-06-04 18:25:43 +02:00
Mathieu Lacage
09ed1c9575 i-ipv4.h -> ipv4.h 2007-06-04 18:05:36 +02:00
Mathieu Lacage
f71d6fd74f IUdp -> Udp 2007-06-04 18:03:26 +02:00
Mathieu Lacage
b9c4fa85f1 i-udp.h -> udp.h 2007-06-04 18:01:09 +02:00
Mathieu Lacage
c32fa46161 ISocketFactory -> SocketFactory 2007-06-04 17:57:01 +02:00
Mathieu Lacage
d0bd4ea161 i-socket-factory.h -> socket-factory.h 2007-06-04 17:54:56 +02:00
Mathieu Lacage
7b6d5c4e97 IIpv4Private -> Ipv4Private 2007-06-04 17:42:37 +02:00
Mathieu Lacage
0459737b00 IIpv4Impl -> Ipv4Impl 2007-06-04 17:40:09 +02:00
Mathieu Lacage
372ecb8430 preprocessor update 2007-06-04 17:24:45 +02:00
Mathieu Lacage
9a852e442e IUdpImpl -> UdpImpl 2007-06-04 17:24:18 +02:00
Mathieu Lacage
92757ef5c3 Udp -> UdpL4Protocol 2007-06-04 17:22:52 +02:00
Mathieu Lacage
297692d88b udp.h -> udp-l4-protocol.h 2007-06-04 17:18:02 +02:00
Mathieu Lacage
4ead4618e6 i-arp-private.h -> arp-private.h 2007-06-04 17:14:59 +02:00
Mathieu Lacage
96f1c67bfe i-udp-impl.h -> udp-impl.h 2007-06-04 17:13:21 +02:00
Mathieu Lacage
9db1449b4b i-ipv4-private.h ipv4-private.h 2007-06-04 17:06:03 +02:00