Struct pnet::transport::Ipv4TransportChannelIterator [] [src]

pub struct Ipv4TransportChannelIterator<'a> {
    // some fields omitted
}

An iterator over packets of type $ty

Methods

impl<'a> Ipv4TransportChannelIterator<'a>
[src]

fn next(&mut self) -> Result<(Ipv4Packet, IpAddr)>

Get the next ($ty, IpAddr) pair for the given channel