Function routes [src]

Adds and deletes routing table entries.

Prototype

pub fn routes(self: *const Ip6, delete_route: bool, destination: ?*const Address, prefix_length: u8, gateway_address: ?*const Address) Status

Parameters

self: *const Ip6delete_route: booldestination: ?*const Addressprefix_length: u8gateway_address: ?*const Address

Source

pub fn routes(self: *const Ip6, delete_route: bool, destination: ?*const Address, prefix_length: u8, gateway_address: ?*const Address) Status { return self._routes(self, delete_route, destination, prefix_length, gateway_address); }