pub fn reset(self: *SimpleNetwork, extended_verification: bool) ResetError!void self: *SimpleNetworkextended_verification: bool150
151
152
153
154
155
156
157
158
159 pub fn reset(self: *SimpleNetwork, extended_verification: bool) ResetError!void {
switch (self._reset(self, extended_verification)) {
.success => {},
.not_started => return error.NotStarted,
.invalid_parameter => return error.InvalidParameter,
.device_error => return error.DeviceError,
.unsupported => return error.Unsupported,
else => |status| return uefi.unexpectedStatus(status),
}
}
Resets a network adapter and reinitializes it with the parameters that were provided in the previous call to initialize().