def _run_scapy(self, scapy_all):
<EOL>if self._exlyr != '<STR_LIT:None>' or self._exptl != '<STR_LIT:null>':<EOL><INDENT>warnings.warn("<STR_LIT>"<EOL>f"<STR_LIT>",<EOL>AttributeWarning, stacklevel=stacklevel())<EOL><DEDENT>self._expkg = scapy_all<EOL>self._extmp = iter(scapy_all.sniff(offline=self._ifnm))<EOL>self.record_frames()<EOL>
Call scapy.all.sniff to extract PCAP files.