Home
last modified time | relevance | path

Searched refs:dhcp_socket (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.7/kernel/src/net/
Dnet_core.rs44 let mut dhcp_socket = dhcpv4::Socket::new(); in dhcp_query() localVariable
50 dhcp_socket.set_max_lease_duration(Some(smoltcp::time::Duration::from_secs(10))); in dhcp_query()
53 let dhcp_handle = sockets.add(dhcp_socket); in dhcp_query()