-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62134b0
commit c3901a5
Showing
11 changed files
with
425 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,3 @@ | |
*.exe | ||
*.out | ||
*.app | ||
CMakeFiles/* | ||
CMakeCache.txt | ||
cmake_install.cmake | ||
ipdecap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Loic Pefferkorn <[email protected]> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SUBDIRS = src | ||
|
||
man1_MANS = ipdecap.1 | ||
EXTRA_DIST = Contributors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
See README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
autoreconf --install || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT([ipdecap], [0.6], [[email protected]]) | ||
AC_CONFIG_SRCDIR([src/ipdecap.c]) | ||
AC_CONFIG_HEADERS([config.h]) | ||
AM_INIT_AUTOMAKE | ||
|
||
# Checks for programs. | ||
AC_PROG_CC | ||
|
||
# Checks for libraries. | ||
AC_CHECK_LIB(pcap, pcap_offline_filter, [], AC_MSG_ERROR(pcap | ||
library not found )) | ||
AC_CHECK_LIB(crypto, EVP_CIPHER_CTX_init, [], | ||
AC_MSG_ERROR(OpenSSL library not found)) | ||
|
||
# Checks for header files. | ||
AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h]) | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
AC_CHECK_HEADER_STDBOOL | ||
AC_TYPE_UINT16_T | ||
|
||
# Checks for library functions. | ||
AC_FUNC_ERROR_AT_LINE | ||
AC_FUNC_MALLOC | ||
AC_CHECK_FUNCS([memset strcspn strdup strtol]) | ||
|
||
AC_CONFIG_FILES([Makefile src/Makefile]) | ||
# unit_tests/802.1q/Makefile | ||
# unit_tests/Makefile | ||
# unit_tests/esp/Makefile | ||
# unit_tests/gre/Makefile | ||
# unit_tests/ip6in4/Makefile | ||
# unit_tests/ipip/Makefile]) | ||
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin_PROGRAMS = ipdecap | ||
ipdecap_SOURCES = ipdecap.c |