• Home
  • Raw
  • Download

Lines Matching refs:dump_info

469 struct dump_info {  struct
1014 struct dump_info dumpinfo; in main()
2222 struct dump_info *dump_info; in dump_packet_and_trunc() local
2228 dump_info = (struct dump_info *)user; in dump_packet_and_trunc()
2263 pcap_dump_close(dump_info->p); in dump_packet_and_trunc()
2269 compress_savefile(dump_info->CurrentFileName); in dump_packet_and_trunc()
2281 if (dump_info->CurrentFileName != NULL) in dump_packet_and_trunc()
2282 free(dump_info->CurrentFileName); in dump_packet_and_trunc()
2284 dump_info->CurrentFileName = (char *)malloc(PATH_MAX + 1); in dump_packet_and_trunc()
2285 if (dump_info->CurrentFileName == NULL) in dump_packet_and_trunc()
2300 MakeFilename(dump_info->CurrentFileName, dump_info->WFileName, 0, in dump_packet_and_trunc()
2303 MakeFilename(dump_info->CurrentFileName, dump_info->WFileName, 0, 0); in dump_packet_and_trunc()
2310 fd = openat(dump_info->dirfd, in dump_packet_and_trunc()
2311 dump_info->CurrentFileName, in dump_packet_and_trunc()
2315 dump_info->CurrentFileName); in dump_packet_and_trunc()
2320 dump_info->CurrentFileName); in dump_packet_and_trunc()
2322 dump_info->p = pcap_dump_fopen(dump_info->pd, fp); in dump_packet_and_trunc()
2324 dump_info->p = pcap_dump_open(dump_info->pd, dump_info->CurrentFileName); in dump_packet_and_trunc()
2330 if (dump_info->p == NULL) in dump_packet_and_trunc()
2333 set_dumper_capsicum_rights(dump_info->p); in dump_packet_and_trunc()
2344 long size = pcap_dump_ftell(dump_info->p); in dump_packet_and_trunc()
2357 pcap_dump_close(dump_info->p); in dump_packet_and_trunc()
2364 compress_savefile(dump_info->CurrentFileName); in dump_packet_and_trunc()
2371 if (dump_info->CurrentFileName != NULL) in dump_packet_and_trunc()
2372 free(dump_info->CurrentFileName); in dump_packet_and_trunc()
2373 dump_info->CurrentFileName = (char *)malloc(PATH_MAX + 1); in dump_packet_and_trunc()
2374 if (dump_info->CurrentFileName == NULL) in dump_packet_and_trunc()
2376 MakeFilename(dump_info->CurrentFileName, dump_info->WFileName, Cflag_count, WflagChars); in dump_packet_and_trunc()
2382 fd = openat(dump_info->dirfd, dump_info->CurrentFileName, in dump_packet_and_trunc()
2386 dump_info->CurrentFileName); in dump_packet_and_trunc()
2391 dump_info->CurrentFileName); in dump_packet_and_trunc()
2393 dump_info->p = pcap_dump_fopen(dump_info->pd, fp); in dump_packet_and_trunc()
2395 dump_info->p = pcap_dump_open(dump_info->pd, dump_info->CurrentFileName); in dump_packet_and_trunc()
2401 if (dump_info->p == NULL) in dump_packet_and_trunc()
2404 set_dumper_capsicum_rights(dump_info->p); in dump_packet_and_trunc()
2409 pcap_dump((u_char *)dump_info->p, h, sp); in dump_packet_and_trunc()
2412 pcap_dump_flush(dump_info->p); in dump_packet_and_trunc()