pub fn del_ip_addr<D: EventDispatcher>(
    ctx: &mut Ctx<D>,
    device: DeviceId,
    addr: IpAddr<SpecifiedAddr<Ipv4Addr>, SpecifiedAddr<Ipv6Addr>>,
) -> error::Result<()> {
    map_addr_version!(
        addr: IpAddr;
        crate::device::del_ip_addr(ctx, device, &addr)
    )
    .map_err(From::from)
}
/// Delete an IP address on a device.
Delete an IP address on a device.
Delete an IP address on a device .
pub fn del_ip_addr<D: EventDispatcher>(
    ctx: &mut Ctx<D>,
    device: DeviceId,
    addr: IpAddr<SpecifiedAddr<Ipv4Addr>, SpecifiedAddr<Ipv6Addr>>,
) -> error::Result<()> {
    map_addr_version!(
        addr: IpAddr;
        crate::device::del_ip_addr(ctx, device, &addr)
    )
    .map_err(From::from)
}
pub fn del_ip_addr < D : EventDispatcher > ( ctx : & mut Ctx < D > , device : DeviceId , addr : IpAddr < SpecifiedAddr < Ipv4Addr > , SpecifiedAddr < Ipv6Addr > > , ) -> error :: Result < ( ) > { map_addr_version ! ( addr IpAddr crate device del_ip_addr ( ctx device addr ) ) . map_err ( From :: from ) }
Delete an IP address on a device.
Delete an IP address on a device .
ctx
&mut Ctx<D>
device
DeviceId
addr
IpAddr<SpecifiedAddr<Ipv4Addr>, SpecifiedAddr<Ipv6Addr>>
ctx
&mut Ctx<D>
device
DeviceId
addr
IpAddr<SpecifiedAddr<Ipv4Addr>, SpecifiedAddr<Ipv6Addr>>