Commit fbe2644
committed
Remove use of absolute offsets
This completely removes the need for
TransmitBuilder::datagram_start_offset and ::datagram_max_offset, now
that everything can work with the buffer returned by
TransmitBuilder::datagram_mut(). It also removes a now unused field
in the packet builder since it no longer needs to keep track of the
start offset of the datagram: it is always 0 now.1 parent eb78257 commit fbe2644
File tree
3 files changed
+7
-26
lines changed- quinn-proto/src/connection
3 files changed
+7
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | | - | |
652 | | - | |
| 651 | + | |
653 | 652 | | |
654 | 653 | | |
655 | 654 | | |
| |||
713 | 712 | | |
714 | 713 | | |
715 | 714 | | |
716 | | - | |
| 715 | + | |
717 | 716 | | |
718 | 717 | | |
719 | 718 | | |
| |||
869 | 868 | | |
870 | 869 | | |
871 | 870 | | |
872 | | - | |
873 | | - | |
| 871 | + | |
874 | 872 | | |
875 | 873 | | |
876 | 874 | | |
| |||
913 | 911 | | |
914 | 912 | | |
915 | 913 | | |
916 | | - | |
| 914 | + | |
917 | 915 | | |
918 | 916 | | |
919 | 917 | | |
| |||
1005 | 1003 | | |
1006 | 1004 | | |
1007 | 1005 | | |
1008 | | - | |
| 1006 | + | |
1009 | 1007 | | |
1010 | 1008 | | |
1011 | 1009 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
157 | | - | |
158 | 156 | | |
159 | 157 | | |
160 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
| 188 | + | |
204 | 189 | | |
205 | 190 | | |
206 | 191 | | |
207 | 192 | | |
208 | | - | |
| 193 | + | |
209 | 194 | | |
210 | 195 | | |
211 | 196 | | |
| |||
0 commit comments