Lines Matching refs:dumpinfo
1118 struct dump_info dumpinfo; in main() local
1872 dumpinfo.CurrentFileName = (char *)malloc(PATH_MAX + 1); in main()
1874 if (dumpinfo.CurrentFileName == NULL) in main()
1879 MakeFilename(dumpinfo.CurrentFileName, WFileName, 0, WflagChars); in main()
1881 MakeFilename(dumpinfo.CurrentFileName, WFileName, 0, 0); in main()
1883 p = pcap_dump_open(pd, dumpinfo.CurrentFileName); in main()
1904 dumpinfo.WFileName = strdup(basename(WFileName)); in main()
1905 if (dumpinfo.WFileName == NULL) { in main()
1909 dumpinfo.dirfd = open(dirname(WFileName), in main()
1911 if (dumpinfo.dirfd < 0) { in main()
1917 if (cap_rights_limit(dumpinfo.dirfd, &rights) < 0 && in main()
1921 if (cap_fcntls_limit(dumpinfo.dirfd, CAP_FCNTL_GETFL) < 0 && in main()
1926 dumpinfo.WFileName = WFileName; in main()
1929 dumpinfo.pd = pd; in main()
1930 dumpinfo.p = p; in main()
1931 pcap_userdata = (u_char *)&dumpinfo; in main()