diff options
author | Aaditya Dhruv <[email protected]> | 2025-05-25 14:47:52 -0500 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2025-05-25 15:11:52 -0500 |
commit | 1b6cefe91e121c11c3194c724d980b6c8134a13a (patch) | |
tree | c43f8d7f388182aca6ead7ca19104885bf265574 |
init
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | CMakeLists.txt | 10 | ||||
-rw-r--r-- | LICENSE | 21 | ||||
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | src/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/arpee.c | 2 | ||||
-rw-r--r-- | src/arpee.h | 0 |
7 files changed, 42 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7194ea7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.cache +build diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..9991ae1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 3.16...4.0) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +project(arpee VERSION 1.0 + DESCRIPTION "Respond to arp packets" + LANGUAGES C) + +message("Building Silph Scope...") +message("Compiler: ${CMAKE_CXX_COMPILER_ID}") + +add_subdirectory(src) @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Aaditya Dhruv + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f51aa14 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +#### Arpee + +A simple daemon to respond to incoming arp packets diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..a0d8515 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,4 @@ +add_executable(arpee arpee.h arpee.c) +target_link_libraries(arpee PRIVATE junk) +target_link_directories(arpee PRIVATE /home/aaditya/git/libjunk/build) +target_include_directories(arpee PRIVATE /home/aaditya/git/libjunk/include) diff --git a/src/arpee.c b/src/arpee.c new file mode 100644 index 0000000..b2f9976 --- /dev/null +++ b/src/arpee.c @@ -0,0 +1,2 @@ +int main() { +} diff --git a/src/arpee.h b/src/arpee.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/arpee.h |