def example_capture():
dev = ev(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>")<EOL>"""<STR_LIT>"""<EOL>custom_filter = ("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>")<EOL>log.info(("<STR_LIT>")<EOL>.format(<EOL>dev,<EOL>custom_filter))<EOL>kamene.sniff(<EOL>filter=custom_filter,<EOL>prn=handle_packets)<EOL>log.info("<STR_LIT>")<EOL>
example_capture

    An example capture script

    Change the network interface by ``export CAP_DEVICE=eth0``