EFI requires us to be able to specify the source address for individual transmitted packets, and to be able to extract the destination address on received packets. Take advantage of this to rationalise the push() and pull() methods so that push() takes a (dest,source,proto) tuple and pull() returns a (dest,source,proto) tuple.tags/v0.9.6
|
||
153 | 153 |
|
154 | 154 |
|
155 | 155 |
|
156 |
|
|
157 |
|
|
158 | 156 |
|
157 |
|
|
158 |
|
|
159 |
|
|
159 | 160 |
|
160 |
|
|
161 |
|
|
162 |
|
|
163 |
|
|
161 |
|
|
162 |
|
|
164 | 163 |
|
165 | 164 |
|
166 | 165 |
|
167 | 166 |
|
168 | 167 |
|
169 | 168 |
|
170 |
|
|
169 |
|
|
171 | 170 |
|
172 | 171 |
|
173 | 172 |
|
|
||
177 | 176 |
|
178 | 177 |
|
179 | 178 |
|
180 |
|
|
181 |
|
|
182 |
|
|
179 |
|
|
180 |
|
|
181 |
|
|
183 | 182 |
|
184 | 183 |
|
185 |
|
|
186 |
|
|
187 |
|
|
184 |
|
|
185 |
|
|
188 | 186 |
|
189 | 187 |
|
190 | 188 |
|
|
||
198 | 196 |
|
199 | 197 |
|
200 | 198 |
|
201 |
|
|
199 |
|
|
202 | 200 |
|
201 |
|
|
203 | 202 |
|
204 | 203 |
|
205 | 204 |
|
|
||
79 | 79 |
|
80 | 80 |
|
81 | 81 |
|
82 |
|
|
83 |
|
|
84 | 82 |
|
83 |
|
|
84 |
|
|
85 | 85 |
|
86 |
|
|
87 |
|
|
88 |
|
|
89 | 86 |
|
90 |
|
|
91 |
|
|
92 |
|
|
87 |
|
|
88 |
|
|
93 | 89 |
|
94 | 90 |
|
95 | 91 |
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
107 | 97 |
|
108 |
|
|
109 |
|
|
98 |
|
|
99 |
|
|
110 | 100 |
|
111 | 101 |
|
112 | 102 |
|
|
||
199 | 199 |
|
200 | 200 |
|
201 | 201 |
|
202 |
|
|
202 | 203 |
|
203 | 204 |
|
204 |
|
|
205 |
|
|
205 | 206 |
|
206 | 207 |
|
207 | 208 |
|
|
||
259 | 260 |
|
260 | 261 |
|
261 | 262 |
|
262 |
|
|
263 |
|
|
263 | 264 |
|
264 | 265 |
|
265 | 266 |
|
266 |
|
|
267 |
|
|
267 | 268 |
|
268 | 269 |
|
269 | 270 |
|
270 |
|
|
271 |
|
|
272 |
|
|
271 |
|
|
272 |
|
|
273 |
|
|
273 | 274 |
|
274 | 275 |
|
275 | 276 |
|
|
||
545 | 546 |
|
546 | 547 |
|
547 | 548 |
|
549 |
|
|
548 | 550 |
|
549 | 551 |
|
550 | 552 |
|
|
||
625 | 627 |
|
626 | 628 |
|
627 | 629 |
|
628 |
|
|
629 |
|
|
630 |
|
|
630 |
|
|
631 |
|
|
631 | 632 |
|
632 | 633 |
|
633 | 634 |
|
|
||
42 | 42 |
|
43 | 43 |
|
44 | 44 |
|
45 |
|
|
46 |
|
|
47 | 45 |
|
46 |
|
|
47 |
|
|
48 |
|
|
48 | 49 |
|
49 |
|
|
50 |
|
|
51 |
|
|
50 |
|
|
51 |
|
|
52 | 52 |
|
53 | 53 |
|
54 | 54 |
|
55 | 55 |
|
56 |
|
|
57 |
|
|
56 |
|
|
57 |
|
|
58 | 58 |
|
59 | 59 |
|
60 | 60 |
|
|
||
63 | 63 |
|
64 | 64 |
|
65 | 65 |
|
66 |
|
|
67 |
|
|
68 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 | 69 |
|
70 | 70 |
|
71 |
|
|
72 |
|
|
73 |
|
|
71 |
|
|
72 |
|
|
74 | 73 |
|
75 | 74 |
|
76 | 75 |
|
|
||
84 | 83 |
|
85 | 84 |
|
86 | 85 |
|
87 |
|
|
86 |
|
|
88 | 87 |
|
88 |
|
|
89 | 89 |
|
90 | 90 |
|
91 | 91 |
|
|
||
439 | 439 |
|
440 | 440 |
|
441 | 441 |
|
442 |
|
|
442 | 443 |
|
443 | 444 |
|
444 | 445 |
|
|
||
449 | 450 |
|
450 | 451 |
|
451 | 452 |
|
452 |
|
|
453 |
|
|
453 |
|
|
454 |
|
|
454 | 455 |
|
455 | 456 |
|
456 | 457 |
|
|
||
495 | 496 |
|
496 | 497 |
|
497 | 498 |
|
498 |
|
|
499 |
|
|
499 | 500 |
|
501 |
|
|
500 | 502 |
|
501 | 503 |
|
502 | 504 |
|
|
||
519 | 521 |
|
520 | 522 |
|
521 | 523 |
|
522 |
|
|
523 |
|
|
524 |
|
|
524 |
|
|
525 |
|
|
526 |
|
|
525 | 527 |
|
526 | 528 |
|
527 | 529 |
|