Function configure [src]

Assign IPv6 address and other configuration parameter to this EFI IPv6 Protocol driver instance. To reset the configuration, use disable instead.

Prototype

pub fn configure(self: *Ip6, ip6_config_data: *const Config) ConfigureError!void

Parameters

self: *Ip6ip6_config_data: *const Config

Possible Errors

AlreadyStarted
DeviceError
InvalidParameter
NoMapping
OutOfResources
Unexpected UnexpectedError
Unsupported

Source

pub fn configure(self: *Ip6, ip6_config_data: *const Config) ConfigureError!void { switch (self._configure(self, ip6_config_data)) { .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), } }