Commit f44f335
src: extract common sockaddr creation code
This commit extracts code to create sockaddr which is shared by both
UDPWrap::DoBind and UDPWrap::DoSend.
PR-URL: #26070
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>1 parent 2335bcd commit f44f335Copy full SHA for f44f335
File tree
Expand file treeCollapse file tree
1 file changed
+19
-32
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+19
-32
lines changedOpen diff view settings
Collapse file
+19-32Lines changed: 19 additions & 32 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
175 | 175 | |
176 | 176 | |
177 | 177 | |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
178 | 191 | |
179 | 192 | |
180 | 193 | |
| ||
191 | 204 | |
192 | 205 | |
193 | 206 | |
194 | | - |
195 | | - |
196 | | - |
197 | | - |
198 | | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | | - |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | | - |
| 207 | + |
| 208 | + |
209 | 209 | |
210 | 210 | |
211 | | - |
| 211 | + |
212 | 212 | |
213 | 213 | |
214 | 214 | |
| ||
392 | 392 | |
393 | 393 | |
394 | 394 | |
395 | | - |
396 | | - |
397 | | - |
398 | | - |
399 | | - |
400 | | - |
401 | | - |
402 | | - |
403 | | - |
404 | | - |
405 | | - |
406 | | - |
407 | | - |
408 | | - |
409 | | - |
| 395 | + |
| 396 | + |
410 | 397 | |
411 | 398 | |
412 | 399 | |
413 | 400 | |
414 | 401 | |
415 | | - |
| 402 | + |
416 | 403 | |
417 | 404 | |
418 | 405 | |
|
0 commit comments