(path)
| 10 | # 总数147376 |
| 11 | |
| 12 | def run(path): |
| 13 | sum = 0 |
| 14 | file_list = glob.glob(path + '/*.pcap') |
| 15 | # print(file_list) |
| 16 | for file in file_list: |
| 17 | packet_num_in_file = len(rdpcap(file)) |
| 18 | sum += packet_num_in_file |
| 19 | |
| 20 | print('包总数为:{}'.format(sum)) |
| 21 | |
| 22 | |
| 23 | def run_all(root_path): |
nothing calls this directly
no outgoing calls
no test coverage detected