summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Reset global cq state after destroying itfix-cq_destroySam Roberts2014-01-291-0/+2
|
* For samples, netinet/in.h is not on windowsSam Roberts2013-10-081-1/+4
|
* Fix errors with missing IPPROTO_MH on windowsSam Roberts2013-10-081-7/+7
| | | | | Use of IPPROTO_MH was introduced with a89f0f10de, but definition was conditionalized to non-windows platforms.
* Factorize socket setup code for socket openingEric Leblond2013-10-011-61/+87
| | | | | | This patch is factorizing the socket opening code between IPv4 and IPv6. Socket option are the same for IPv4 and IPv6, so we can factorize the code. As a side effect this patch brings output device selection to IPv4.
* Fix build error in Mac OS Xallfro2013-09-181-0/+7
| | | The IFT_FASTETHER, IFT_FASTETHERFX, IFT_GIGABITETHERNET constants are not defined in Mac OS X Mountain Lion. Only IFT_ETHER and IFT_L2VLAN are. This patch checks for the existence of these definitions.
* Merge pull request #36 from sam-github/fix-ip6-checksumSam Roberts2013-08-202-0/+42
|\ | | | | Fix ip6 checksum
| * Insource comments and whitespace cleanupsSam Roberts2013-08-202-3/+14
| |
| * Fix #34 correct checksum caculation when IPv6 extension headers being usedAlexander Koeppe2013-08-192-0/+31
|/
* Merge pull request #32 from ThomasHabets/get-vlan-macSam Roberts2013-07-081-1/+11
|\ | | | | Make libnet_get_hwaddr() work with 802.1q interfaces in bpf (BSD).
| * Make libnet_get_hwaddr() work with 802.1q interfaces in bpf (BSD).Thomas Habets2013-06-301-1/+11
|/ | | | | This fixes a regression in introduced in 27282bb5a1ab78210245e226c4c82605b00a12bb.
* Update libnet_dll.cdlwdlw2013-06-251-1/+1
| | | | Missing ".h" breaks VS2012 builds
* Update libnet_raw.cdlwdlw2013-06-241-1/+1
| | | Missing ; blows up VS2012 builds.
* Update CHANGELOGSam Roberts2013-05-281-0/+3
|
* libnet: Remove unneeded trailing -Wl from -version-info lineGilles Espinasse2013-05-281-1/+1
| | | | Signed-off-by: Gilles Espinasse <g.esp@free.fr>
* Notes on how to build from a git checkout.Sam Roberts2013-04-151-0/+14
|
* Prepare for 1.2 release candidate 2Sam Roberts2013-04-152-2/+14
|
* libnet: libnet_build_snmp fix warningGilles Espinasse2013-04-151-1/+1
| | | | | | | Usign -Wstrict-prototypes show: libnet_build_snmp.c:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] Signed-off-by: Gilles Espinasse <g.esp@free.fr>
* libnet: use LIBNET_*RESOLVE const in libnet_name2addr*Gilles Espinasse2013-04-155-5/+5
| | | | | | and fix tab vs space issue in that changed line Signed-off-by: Gilles Espinasse <g.esp@free.fr>
* libnet: fix i486 sample synflood6 warningGilles Espinasse2013-04-151-1/+1
| | | | | | | synflood6.c: In function 'main': synflood6.c:157: warning: format '%ld' expects type 'long int', but argument 2 has type 'unsigned int' Signed-off-by: Gilles Espinasse <g.esp@free.fr>
* Some samples need #include<netinet/in.h> for IPPROTO_* on OpenBSD 5.2Thomas Habets2013-04-141-0/+2
|
* Unstow all variants of libnet package name.Sam Roberts2013-03-181-1/+2
|
* Better description of .so revioning.Sam Roberts2013-03-181-3/+14
|
* Fix gcc warnings.Stefanos Harhalakis2013-03-1825-52/+57
| | | | | This is just to make -Werror succeed as the samples are not that important.
* Use @retval for correct man page formatting.Sam Roberts2013-03-181-101/+197
| | | | | | When using @return instead of @retval, -1 formats as the beginning of emphasis in the man pages. The need for this was deduced from the fix-manpages patch to debian libnet 1.1.6+dfsg-1.
* Hide undocumented in auto-generated documentation.Sam Roberts2013-03-181-1/+1
|
* Check for socklen_t (suggested by g.esp and Stefanos Harhalakis)Sam Roberts2013-03-182-1/+18
|
* Update to doxygen 1.8Sam Roberts2013-03-181-72/+148
|
* Only distribute man pages for libnet headers. (Reported by g.esp)Sam Roberts2013-03-151-2/+2
| | | | Doxygen link files for directories were being packages up as man pages.
* libnet: update for obsolete INCLUDE directiveGilles Espinasse2013-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Gilles Espinasse <g.esp@free.fr> Using autoreconf (with automake-1.12.6) show those warnings autoreconf: running: automake --add-missing --copy --force-missing Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Makefile.am:9: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') include/Makefile.am:3: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') include/libnet/Makefile.am:3: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') sample/Makefile.am:9: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:9: 'Makefile.am.common' included from here autoreconf: Leaving directory `.' Just follow the advice and replace INCLUDES with AM_CPPFLAGS
* Fix warning inside commentGilles Espinasse2013-03-151-1/+1
| | | | | | | Signed-off-by: Gilles Espinasse <g.esp@free.fr> Fix this warning seen with -Wall libnet_if_addr.c:277:1: warning: "/*" within comment
* Prepare for 1.2 release candidate.v1.2-rc1libnet-1.2-rc1Sam Roberts2013-03-149-27/+111
|
* Bump libnet versions in preparation for 1.2 release.Sam Roberts2013-03-142-2/+4
|
* Cleaned up references to win32 pre-generated headersSam Roberts2013-03-1429-114/+33
| | | | | | | | | | Moved pre-generated and static headers used for autotool-less win32 builds out of include/ and into win32/. Centralized the HAVE_CONFIG logic into two common headers, one for src/, and one for test/. All source code should know include headers from the same location, its the responsibility of the build prep system (autotools or msvcbuild.bat) to make sure the correct headers are in place.
* VERSION is ancient and unusedBarak A. Pearlmutter2013-03-131-1/+0
|
* autoupdate configure.acBarak A. Pearlmutter2013-03-131-9/+6
|
* Simplify autogen.sh (suggested by Barak A. Pearlmutter)Sam Roberts2013-03-131-6/+1
|
* Ignore doxygen javascript outputSam Roberts2013-03-131-0/+1
|
* remove autoreconf-installed fileBarak A. Pearlmutter2013-03-131-162/+0
|
* Use +AC_CONFIG_HEADERS instead of AM_CONFIG_HEADERSam Roberts2013-01-311-1/+1
| | | | | Apparently, the AM variant is deprecated, and will stop working with suitably recent automake versions.
* Merge remote-tracking branch 'origin/master'Sam Roberts2013-01-311-0/+1
|\
| * git ignore doxygen outputSam Roberts2012-11-271-0/+1
| |
| * Remove automake reference to win32 header that has been removed.Sam Roberts2012-11-271-1/+1
| |
* | Automatic link options ("#pragma comment(lib, ...)") are only for MSVCThomasVolkert2012-12-181-0/+3
| |
* | Added guards around definitions of _GNU_SOURCE to avoid redefinitionsThomasVolkert2012-12-181-0/+2
| |
* | Avoids several warnings for MS C/C++ compilerThomasVolkert2012-12-184-8/+8
| |
* | libnet_open_raw4 doesn't return a SOCKET on win32Sam Roberts2012-12-181-8/+0
| | | | | | | | And on unix, it doesn't return a descriptor.
* | Remove unused STDOUT_FILENO, and dead code that used to use it.Sam Roberts2012-12-182-23/+1
| |
* | Removed references to removed win32/in_systm.hSam Roberts2012-11-272-2/+1
|/
* Merge branch 'win32'Sam Roberts2012-11-2743-1646/+617
|\ | | | | | | | | | | | | | | | | | | Conflicts were in error message formatting, master has removed new lines from end of all error messages. Conflicts: libnet/src/libnet_if_addr.c libnet/src/libnet_link_win32.c libnet/src/libnet_resolve.c
| * Pass build errors to caller of batch files.Sam Roberts2012-11-152-2/+6
| |