Struct iproute2::LinkSetRequest[][src]

pub struct LinkSetRequest { /* fields omitted */ }

Methods

impl LinkSetRequest
[src]

Execute the request

Return a mutable reference to the request

Set the link with the given index up (equivalent to ip link set dev DEV up)

Set the link with the given index down (equivalent to ip link set dev DEV down)

Set the name of the link with the given index (equivalent to ip link set DEV name NAME)

Set the mtu of the link with the given index (equivalent to ip link set DEV mtu MTU)

Set the hardware address of the link with the given index (equivalent to ip link set DEV address ADDRESS)

Auto Trait Implementations