/// Removes an IPv4 address and associated subnet from this device.
Removes an IPv4 address and associated subnet from this device.
Removes an IPv4 address and associated subnet from this device .
pub(crate) fn del_ipv4_addr<C: IpDeviceContext<Ipv4> + BufferIpDeviceContext<Ipv4, EmptyBuf>>(
    ctx: &mut C,
    device_id: C::DeviceId,
    addr: &SpecifiedAddr<Ipv4Addr>,
) -> Result<(), NotFoundError> {
    ctx.get_ip_device_state_mut(device_id).ip_state.remove_addr(&addr)
}
pub ( crate ) fn del_ipv4_addr < C : IpDeviceContext < Ipv4 > + BufferIpDeviceContext < Ipv4 , EmptyBuf > > ( ctx : & mut C , device_id : C :: DeviceId , addr : & SpecifiedAddr < Ipv4Addr > , ) -> Result < ( ) , NotFoundError > { ctx . get_ip_device_state_mut ( device_id ) . ip_state . remove_addr ( & addr ) }
Removes an IPv4 address and associated subnet from this device.
Removes an IPv4 address and associated subnet from this device .
ctx
&mut C
device_id
C::DeviceId
addr
&SpecifiedAddr<Ipv4Addr>