MCPcopy Index your code
hub / github.com/secdev/scapy / __next__

Method __next__

scapy/utils.py:1598–1603  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1596 return self
1597
1598 def __next__(self): # type: ignore
1599 # type: () -> Packet
1600 try:
1601 return self.read_packet()
1602 except EOFError:
1603 raise StopIteration
1604
1605 def read_all(self, count=-1):
1606 # type: (int) -> PacketList

Callers

nothing calls this directly

Calls 1

read_packetMethod · 0.95

Tested by

no test coverage detected