[ipv6] Add ndp_tx_router_solicitation() to send router solicitations

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-10-24 14:06:33 +01:00
parent 10d19bd2ac
commit b15dbc9cc6
5 changed files with 95 additions and 37 deletions

View File

@@ -926,6 +926,7 @@ static int ipv6_probe ( struct net_device *netdev ) {
int rc;
/* Construct link-local address from EUI-64 as per RFC 2464 */
memset ( &address, 0, sizeof ( address ) );
prefix_len = ipv6_link_local ( &address, netdev );
if ( prefix_len < 0 ) {
rc = prefix_len;