network arplab finished

This commit is contained in:
2025-11-17 22:22:52 +08:00
parent ecb6ef0a65
commit 8d9c3ed7f6
411 changed files with 42460 additions and 1 deletions

View File

@@ -0,0 +1 @@
{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,171 @@
{
"inputs" :
[
{
"path" : "CMakeLists.txt"
},
{
"isGenerated" : true,
"path" : "D:/c_work/start/build/CMakeFiles/3.30.3/CMakeSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeSystemSpecificInitialize.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows-Initialize.cmake"
},
{
"isGenerated" : true,
"path" : "D:/c_work/start/build/CMakeFiles/3.30.3/CMakeCCompiler.cmake"
},
{
"isGenerated" : true,
"path" : "D:/c_work/start/build/CMakeFiles/3.30.3/CMakeCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeSystemSpecificInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeGenericSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeInitializeConfigs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/WindowsPaths.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Compiler/GNU-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Compiler/GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows-GNU-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows-GNU.cmake"
},
{
"isGenerated" : true,
"path" : "D:/c_work/start/build/CMakeFiles/3.30.3/CMakeRCCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeRCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows-windres.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows-GNU-C-ABI.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeCXXInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Compiler/GNU-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Compiler/GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows-GNU-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows-GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/Platform/Windows-GNU-CXX-ABI.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "D:/cmake/share/cmake-3.30/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"path" : "src/xnet_tiny/CMakeLists.txt"
},
{
"path" : "src/xnet_app/CMakeLists.txt"
}
],
"kind" : "cmakeFiles",
"paths" :
{
"build" : "D:/c_work/start/build",
"source" : "D:/c_work/start/xnet_tiny_c0101"
},
"version" :
{
"major" : 1,
"minor" : 1
}
}

View File

@@ -0,0 +1,113 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"childIndexes" :
[
1,
2
],
"jsonFile" : "directory-.-Debug-d0094a50bb2071803777.json",
"minimumCMakeVersion" :
{
"string" : "3.7"
},
"projectIndex" : 0,
"source" : ".",
"targetIndexes" :
[
0
]
},
{
"build" : "src/xnet_tiny",
"jsonFile" : "directory-src.xnet_tiny-Debug-4578e9ca0e0117847dde.json",
"minimumCMakeVersion" :
{
"string" : "3.7"
},
"parentIndex" : 0,
"projectIndex" : 0,
"source" : "src/xnet_tiny",
"targetIndexes" :
[
2
]
},
{
"build" : "src/xnet_app",
"jsonFile" : "directory-src.xnet_app-Debug-25a699856ccc8073c2c5.json",
"minimumCMakeVersion" :
{
"string" : "3.7"
},
"parentIndex" : 0,
"projectIndex" : 0,
"source" : "src/xnet_app",
"targetIndexes" :
[
1
]
}
],
"name" : "Debug",
"projects" :
[
{
"directoryIndexes" :
[
0,
1,
2
],
"name" : "xnet",
"targetIndexes" :
[
0,
1,
2
]
}
],
"targets" :
[
{
"directoryIndex" : 0,
"id" : "xnet::@6890427a1f51a3e7e1df",
"jsonFile" : "target-xnet-Debug-771d309b0cef52622588.json",
"name" : "xnet",
"projectIndex" : 0
},
{
"directoryIndex" : 2,
"id" : "xnet_app::@59b125fae35e6df3589a",
"jsonFile" : "target-xnet_app-Debug-b2ab4605d66a83b6a590.json",
"name" : "xnet_app",
"projectIndex" : 0
},
{
"directoryIndex" : 1,
"id" : "xnet_tiny::@746c93521a1b098f3dd3",
"jsonFile" : "target-xnet_tiny-Debug-a1849f5457373dbea433.json",
"name" : "xnet_tiny",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "D:/c_work/start/build",
"source" : "D:/c_work/start/xnet_tiny_c0101"
},
"version" :
{
"major" : 2,
"minor" : 7
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : ".",
"source" : "."
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : "src/xnet_app",
"source" : "src/xnet_app"
}
}

View File

@@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : "src/xnet_tiny",
"source" : "src/xnet_tiny"
}
}

View File

@@ -0,0 +1,132 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "MinGW Makefiles"
},
"paths" :
{
"cmake" : "D:/cmake/bin/cmake.exe",
"cpack" : "D:/cmake/bin/cpack.exe",
"ctest" : "D:/cmake/bin/ctest.exe",
"root" : "D:/cmake/share/cmake-3.30"
},
"version" :
{
"isDirty" : false,
"major" : 3,
"minor" : 30,
"patch" : 3,
"string" : "3.30.3",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-26e095933dd6160a6495.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 7
}
},
{
"jsonFile" : "cache-v2-85c8c8b4b757524c1070.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-0a429aa47da5e5edf8a5.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 1
}
},
{
"jsonFile" : "toolchains-v1-4e4f3158ee096c2b8391.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
],
"reply" :
{
"client-vscode" :
{
"query.json" :
{
"requests" :
[
{
"kind" : "cache",
"version" : 2
},
{
"kind" : "codemodel",
"version" : 2
},
{
"kind" : "toolchains",
"version" : 1
},
{
"kind" : "cmakeFiles",
"version" : 1
}
],
"responses" :
[
{
"jsonFile" : "cache-v2-85c8c8b4b757524c1070.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "codemodel-v2-26e095933dd6160a6495.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 7
}
},
{
"jsonFile" : "toolchains-v1-4e4f3158ee096c2b8391.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-0a429aa47da5e5edf8a5.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 1
}
}
]
}
}
}
}

View File

@@ -0,0 +1,221 @@
{
"artifacts" :
[
{
"path" : "xnet.exe"
},
{
"path" : "xnet.pdb"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_executable",
"LINK_DIRECTORIES",
"target_link_libraries",
"add_compile_options",
"add_definitions",
"include_directories"
],
"files" :
[
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 22,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 4,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 28,
"parent" : 0
},
{
"command" : 3,
"file" : 0,
"line" : 12,
"parent" : 0
},
{
"command" : 4,
"file" : 0,
"line" : 26,
"parent" : 0
},
{
"command" : 4,
"file" : 0,
"line" : 11,
"parent" : 0
},
{
"command" : 5,
"file" : 0,
"line" : 14,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "-g"
},
{
"backtrace" : 4,
"fragment" : "-g"
}
],
"defines" :
[
{
"backtrace" : 5,
"define" : "NET_DRIVER_PCAP"
},
{
"backtrace" : 6,
"define" : "_CRT_SECURE_NO_WARNINGS"
}
],
"includes" :
[
{
"backtrace" : 7,
"path" : "D:/c_work/start/xnet_tiny_c0101"
},
{
"backtrace" : 7,
"path" : "D:/c_work/start/xnet_tiny_c0101/../lib/npcap/Include"
},
{
"backtrace" : 7,
"path" : "D:/c_work/start/xnet_tiny_c0101/src/xnet_app"
},
{
"backtrace" : 7,
"path" : "D:/c_work/start/xnet_tiny_c0101/src/xnet_tiny"
},
{
"backtrace" : 7,
"path" : "D:/c_work/start/xnet_tiny_c0101/../lib/xnet"
}
],
"language" : "C",
"sourceIndexes" :
[
0,
1
]
}
],
"dependencies" :
[
{
"backtrace" : 3,
"id" : "xnet_tiny::@746c93521a1b098f3dd3"
},
{
"backtrace" : 3,
"id" : "xnet_app::@59b125fae35e6df3589a"
}
],
"id" : "xnet::@6890427a1f51a3e7e1df",
"link" :
{
"commandFragments" :
[
{
"fragment" : "-g",
"role" : "flags"
},
{
"fragment" : "",
"role" : "flags"
},
{
"backtrace" : 2,
"fragment" : "-LD:\\c_work\\start\\xnet_tiny_c0101\\..\\lib\\npcap\\Lib\\x64",
"role" : "libraryPath"
},
{
"backtrace" : 3,
"fragment" : "src\\xnet_tiny\\libxnet_tiny.a",
"role" : "libraries"
},
{
"backtrace" : 3,
"fragment" : "src\\xnet_app\\libxnet_app.a",
"role" : "libraries"
},
{
"backtrace" : 3,
"fragment" : "D:\\c_work\\start\\xnet_tiny_c0101\\..\\lib\\npcap\\Lib\\x64\\wpcap.lib",
"role" : "libraries"
},
{
"backtrace" : 3,
"fragment" : "-lWs2_32",
"role" : "libraries"
},
{
"fragment" : "-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32",
"role" : "libraries"
}
],
"language" : "C"
},
"name" : "xnet",
"nameOnDisk" : "xnet.exe",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0,
1
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "D:/c_work/start/lib/xnet/pcap_device.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/app.c",
"sourceGroupIndex" : 0
}
],
"type" : "EXECUTABLE"
}

View File

@@ -0,0 +1,152 @@
{
"archive" : {},
"artifacts" :
[
{
"path" : "src/xnet_app/libxnet_app.a"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_library",
"add_compile_options",
"add_definitions",
"include_directories"
],
"files" :
[
"src/xnet_app/CMakeLists.txt",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 2,
"parent" : 0
},
{
"file" : 1
},
{
"command" : 1,
"file" : 1,
"line" : 12,
"parent" : 2
},
{
"command" : 2,
"file" : 1,
"line" : 11,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 14,
"parent" : 2
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "-g"
},
{
"backtrace" : 3,
"fragment" : "-g"
}
],
"defines" :
[
{
"backtrace" : 4,
"define" : "_CRT_SECURE_NO_WARNINGS"
}
],
"includes" :
[
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101"
},
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101/../lib/npcap/Include"
},
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101/src/xnet_app"
},
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101/src/xnet_tiny"
},
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101/../lib/xnet"
}
],
"language" : "C",
"sourceIndexes" :
[
0,
1,
2
]
}
],
"id" : "xnet_app::@59b125fae35e6df3589a",
"name" : "xnet_app",
"nameOnDisk" : "libxnet_app.a",
"paths" :
{
"build" : "src/xnet_app",
"source" : "src/xnet_app"
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0,
1,
2
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/xnet_app/port_pcap.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/xnet_app/xserver_datetime.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/xnet_app/xserver_http.c",
"sourceGroupIndex" : 0
}
],
"type" : "STATIC_LIBRARY"
}

View File

@@ -0,0 +1,136 @@
{
"archive" : {},
"artifacts" :
[
{
"path" : "src/xnet_tiny/libxnet_tiny.a"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_library",
"add_compile_options",
"add_definitions",
"include_directories"
],
"files" :
[
"src/xnet_tiny/CMakeLists.txt",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 2,
"parent" : 0
},
{
"file" : 1
},
{
"command" : 1,
"file" : 1,
"line" : 12,
"parent" : 2
},
{
"command" : 2,
"file" : 1,
"line" : 11,
"parent" : 2
},
{
"command" : 3,
"file" : 1,
"line" : 14,
"parent" : 2
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "-g"
},
{
"backtrace" : 3,
"fragment" : "-g"
}
],
"defines" :
[
{
"backtrace" : 4,
"define" : "_CRT_SECURE_NO_WARNINGS"
}
],
"includes" :
[
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101"
},
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101/../lib/npcap/Include"
},
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101/src/xnet_app"
},
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101/src/xnet_tiny"
},
{
"backtrace" : 5,
"path" : "D:/c_work/start/xnet_tiny_c0101/../lib/xnet"
}
],
"language" : "C",
"sourceIndexes" :
[
0
]
}
],
"id" : "xnet_tiny::@746c93521a1b098f3dd3",
"name" : "xnet_tiny",
"nameOnDisk" : "libxnet_tiny.a",
"paths" :
{
"build" : "src/xnet_tiny",
"source" : "src/xnet_tiny"
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/xnet_tiny/xnet_tiny.c",
"sourceGroupIndex" : 0
}
],
"type" : "STATIC_LIBRARY"
}

View File

@@ -0,0 +1,136 @@
{
"kind" : "toolchains",
"toolchains" :
[
{
"compiler" :
{
"id" : "GNU",
"implicit" :
{
"includeDirectories" :
[
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include",
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed",
"D:/c/mingw64/x86_64-w64-mingw32/include"
],
"linkDirectories" :
[
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0",
"D:/c/mingw64/lib/gcc",
"D:/c/mingw64/x86_64-w64-mingw32/lib",
"D:/c/mingw64/lib"
],
"linkFrameworkDirectories" : [],
"linkLibraries" :
[
"mingw32",
"gcc",
"moldname",
"mingwex",
"advapi32",
"shell32",
"user32",
"kernel32",
"iconv",
"mingw32",
"gcc",
"moldname",
"mingwex"
]
},
"path" : "D:/c/mingw64/bin/gcc.exe",
"version" : "8.1.0"
},
"language" : "C",
"sourceFileExtensions" :
[
"c",
"m"
]
},
{
"compiler" :
{
"id" : "GNU",
"implicit" :
{
"includeDirectories" :
[
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++",
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/x86_64-w64-mingw32",
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/backward",
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include",
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed",
"D:/c/mingw64/x86_64-w64-mingw32/include"
],
"linkDirectories" :
[
"D:/c/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0",
"D:/c/mingw64/lib/gcc",
"D:/c/mingw64/x86_64-w64-mingw32/lib",
"D:/c/mingw64/lib"
],
"linkFrameworkDirectories" : [],
"linkLibraries" :
[
"stdc++",
"mingw32",
"gcc_s",
"gcc",
"moldname",
"mingwex",
"advapi32",
"shell32",
"user32",
"kernel32",
"iconv",
"mingw32",
"gcc_s",
"gcc",
"moldname",
"mingwex"
]
},
"path" : "D:/c/mingw64/bin/g++.exe",
"version" : "8.1.0"
},
"language" : "CXX",
"sourceFileExtensions" :
[
"C",
"M",
"c++",
"cc",
"cpp",
"cxx",
"mm",
"mpp",
"CPP",
"ixx",
"cppm",
"ccm",
"cxxm",
"c++m"
]
},
{
"compiler" :
{
"implicit" : {},
"path" : "D:/c/mingw64/bin/windres.exe"
},
"language" : "RC",
"sourceFileExtensions" :
[
"rc",
"RC"
]
}
],
"version" :
{
"major" : 1,
"minor" : 0
}
}