IPv6 link-local socket addresses require some way to specify a local network device. We cannot simply use a pointer to the network device, since a struct sockaddr_in6 may be long-lived and has no way to hold a reference to the network device. Using a network device index allows a socket address to cleanly refer to a network device without worrying about whether or not that device continues to exist. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
| 300 | 300 |
|
| 301 | 301 |
|
| 302 | 302 |
|
| 303 |
|
|
| 304 |
|
|
| 303 | 305 |
|
| 304 | 306 |
|
| 305 | 307 |
|
|
||
| 498 | 498 |
|
| 499 | 499 |
|
| 500 | 500 |
|
| 501 |
|
|
| 501 |
|
|
| 502 |
|
|
| 502 | 503 |
|
| 503 | 504 |
|
| 504 |
|
|
| 505 |
|
|
| 505 | 506 |
|
| 506 | 507 |
|
| 507 | 508 |
|