Struct pnet::transport::Ipv4TransportChannelIterator
[−]
pub struct Ipv4TransportChannelIterator<'a> {
// some fields omitted
}An iterator over packets of type $ty
Methods
impl<'a> Ipv4TransportChannelIterator<'a>
fn next(&mut self) -> Result<(Ipv4Packet, IpAddr)>
Get the next ($ty, IpAddr) pair for the given channel