pub fn disable(self: *Ip6) ConfigureError!void self: *Ip6126
127
128
129
130
131
132
133
134
135
136
137 pub fn disable(self: *Ip6) ConfigureError!void {
switch (self._configure(self, null)) {
.success => {},
.invalid_parameter => return error.InvalidParameter,
.out_of_resources => return error.OutOfResources,
.no_mapping => return error.NoMapping,
.already_started => return error.AlreadyStarted,
.device_error => return error.DeviceError,
.unsupported => return error.Unsupported,
else => |status| return uefi.unexpectedStatus(status),
}
}