Searched refs:dumpinfo (Results 1 – 1 of 1) sorted by relevance
1014 struct dump_info dumpinfo; in main() local1870 dumpinfo.CurrentFileName = (char *)malloc(PATH_MAX + 1); in main()1872 if (dumpinfo.CurrentFileName == NULL) in main()1877 MakeFilename(dumpinfo.CurrentFileName, WFileName, 0, WflagChars); in main()1879 MakeFilename(dumpinfo.CurrentFileName, WFileName, 0, 0); in main()1881 p = pcap_dump_open(pd, dumpinfo.CurrentFileName); in main()1902 dumpinfo.WFileName = strdup(basename(WFileName)); in main()1903 dumpinfo.dirfd = open(dirname(WFileName), in main()1905 if (dumpinfo.dirfd < 0) { in main()1911 if (cap_rights_limit(dumpinfo.dirfd, &rights) < 0 && in main()[all …]