debian/0000775000000000000000000000000012247477704007206 5ustar debian/libnet1.docs0000664000000000000000000000005312247477024011407 0ustar README doc/CONTRIB doc/TODO #doc/CHANGELOG debian/source/0000775000000000000000000000000012247477024010501 5ustar debian/source/format0000664000000000000000000000001412247477024011707 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000002164412247477024011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Author: Mike D. Schiffman Sam Roberts Packaged-By: Domenico Andreoli Stefanos Harhalakis Packaged-Date: Wed May 13 23:21:59 EEST 2009 Original-Source-Location: http://libnet-dev.sourceforge.net/ Files: debian/* Copyright: © 2008, David Paleino © 2002-2008, Domenico Andreoli © 2009-2012, Stefanos Harhalakis License: BSD-2 Files: include/bpf.h include/win32/getopt.h include/win32/in_systm.h sample/win32/getopt.c Copyright: © 1982-1997, The Regents of the University of California License: BSD-4 Files: include/ifaddrlist.h Copyright: © 1997, The Regents of the University of California License: BSD-3 Files: include/libnet/libnet-asn1.h Copyright: © 1998-2004, Mike D. Schiffman © 1988-1989, Carnegie Mellon University License: BSD-2 or other Files: sample/bgp4* sample/dns.c sample/gre.c sample/ip_link.c sample/ip_raw.c sample/sebek.c sample/tftp.c src/libnet_build_bgp.c src/libnet_build_gre.c Copyright: © 2003-2004 Frédéric Raynal License: BSD-2 Files: sample/icmp_redirect.c Copyright: © 1998-2004, Mike D. Schiffman © 2003, Alberto Ornaghi License: BSD-2 Files: sample/icmp_timeexceed.c src/libnet_build_sebek.c src/libnet_cq.c Copyright: © 1998-2004, Mike D. Schiffman © 2003, Frédéric Raynal License: BSD-2 Files: sample/ospf* src/libnet_build_ospf.c Copyright: © 1998-2004, Mike D. Schiffman © 1999-2000, Andrew Reiter License: BSD-2 Files: sample/ping_of_death.c Copyright: © 1998-2004, Mike D. Schiffman © 1999-2001, Dug Song License: BSD-2 Files: srct/libnet_asn1.c Copyright: © 1998-2004, Mike D. Schiffman © 1988-1992, Carnegie Mellon University © 1993-1996, 1998, The Regents of the University of California License: BSD-3 or other Files: src/libnet_build_fddi.c src/libnet_build_rpc.c src/libnet_build_token_ring.c Copyright: © 1998-2004, Mike D. Schiffman © Jason Damron License: BSD-2 Files: src/libnet_build_ipsec.c Copyright: © 1998-2004, Mike D. Schiffman © 2002, Jose Nazario License: BSD-2 Files: src/libnet_build_link.c src/libnet_write.c Copyright: © 1998-2004, Mike D. Schiffman © 2003, Roberto Larcher License: BSD-2 Files: src/libnet_dll.c Copyright: © 2002, Roberto Larcher License: BSD-2 Files: src/libnet_link_dlpi.c Copyright: © 1998-2004, Mike D. Schiffman © 1993-1997, The Regents of the University of California © Atanu Ghosh , University College London License: BSD-3 Files: src/libnet_link_nit.c src/libnet_link_none.c src/libnet_link_pf.c src/libnet_link_snoop.c Copyright: © 1998-2004, Mike D. Schiffman © 1990-1996, 1998, The Regents of the University of California. License: BSD-3 Files: src/libnet_link_snit.c Copyright: © 1998-2004, Mike D. Schiffman © 1990-1996, 1998, The Regents of the University of California. © 1989, Micky Liu , Columbia University License: BSD-3 Files: src/libnet_link_win32.c Copyright: © 1998-2004, Mike D. Schiffman © 2001-2002, Don Bowman © 2002, Roberto Larcher License: BSD-2 Files: * Copyright: © 1998-2004, Mike D. Schiffman License: BSD-2 License: BSD-2 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: BSD-3 * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code distributions * retain the above copyright notice and this paragraph in its entirety, (2) * distributions including binary code include the above copyright notice and * this paragraph in its entirety in the documentation or other materials * provided with the distribution, and (3) all advertising materials mentioning * features or use of this software display the following acknowledgement: * ``This product includes software developed by the University of California, * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of * the University nor the names of its contributors may be used to endorse * or promote products derived from this software without specific prior * written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. License: BSD-4 * This code is derived from the Stanford/CMU enet packet filter, * (net/enet.c) distributed as part of 4.3BSD, and code contributed * to Berkeley by Steven McCanne and Van Jacobson both of Lawrence * Berkeley Laboratory. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. License: other * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, * provided that the above copyright notice appear in all copies and that * both that copyright notice and this permission notice appear in * supporting documentation, and that the name of CMU not be * used in advertising or publicity pertaining to distribution of the * software without specific, written prior permission. * * CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL * CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. debian/libnet1-dev.README.Debian0000664000000000000000000000262512247477024013360 0ustar Message received at 224674@bugs.debian.org: Date: Tue, 6 Jan 2004 17:13:04 +0100 From: Enrico Zini ... From what I've seen in the libnet mailing list, the current libnet package still has documentation and function export issues: - if that function is only used internally, it should not be exported in the header file - the HTML documentation seems to refer to the old API of libnet - I've later found out that the manpage suggests to create many libnet contexts if one wants to create many packets at a time; although I don't really like that idea, there is a documented way of doing it and many packets can be created without using libnet_pblock_coalesce - In the mailing list, sandr8 suggests to use libnet_adv_cull_packet(), however that function is not documented in the manpage, but only as a short comment in the header file, which doesn't tell how and if the resulting packet should be deallocated - In the mailing list, sandr8 and Mike Schiffman suggest using the context queue interface, for which I haven't found any documented overview on what its concepts are, but only the single functions briefly documented in the header file - Mike Schiffman also talks about initializing libnet with the ADVANCED interface, but again I only found the LIBNET_????_ADV constants briefly documented, with no overview on what the advanced mode is and does ... debian/libnet1-dev.manpages0000664000000000000000000000005012247477024013023 0ustar debian/libnet-config.1 doc/man/man3/*.3 debian/changelog0000664000000000000000000002500212247477704011057 0ustar libnet (1.1.6+dfsg-2ubuntu1) trusty; urgency=low * Apply dh_autoreconf * Enable parallel build -- Dmitrijs Ledkovs Wed, 04 Dec 2013 01:04:50 +0000 libnet (1.1.6+dfsg-2) unstable; urgency=low * Standards version 3.9.4: No changes needed * Upload to unstable -- Stefanos Harhalakis Sun, 14 Jul 2013 19:29:16 +0100 libnet (1.1.6+dfsg-1) experimental; urgency=low * New upstream release * Standards version 3.9.3: No changes needed * Fix hyphens in manpage * Make the package able to compile with -Werror: - Use socklen_t instead of int - Prevent gcc warning for ignored returned value * Multiarch: - libnet1 and libnet1-dbg are Multi-Arch: same - libnet1-dev is not multiarch because of /usr/bin/libnet-config - no changes for libnet1-doc * Remove libnet.la * Remove .dirs files from debian/ since they didn't contain anything useful * Fix debian/copyright to pass lintian checks * Remove dependency on quilt * Build-Depend on debhelper >=9 * Remove win32/*.suo, win32/*.ncb and win32/*.opt from sources and add debian/README.source -- Stefanos Harhalakis Thu, 21 Jun 2012 22:23:42 +0100 libnet (1.1.5-1) unstable; urgency=low * New upstream release -- Stefanos Harhalakis Sat, 24 Mar 2012 13:24:26 +0000 libnet (1.1.4-2.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: libnet_init.c:88:17: error: format not a string literal and no format arguments [-Werror=format-security]": add patch from Bart Martens as Werror_format-security.patch. Closes: #643431 -- gregor herrmann Sat, 15 Oct 2011 16:30:40 +0200 libnet (1.1.4-2) unstable; urgency=low * Fix double free()s (Closes: #534437) * Standards version 3.8.2 -- Stefanos Harhalakis Sat, 27 Jun 2009 14:50:35 +0300 libnet (1.1.4-1) unstable; urgency=low * New upstream release. * Removed quilt depedencies (no more debian patches). * Install upstream CHANGELOG in docs. -- Stefanos Harhalakis Wed, 10 Jun 2009 17:18:17 +0300 libnet (1.1.3-2) unstable; urgency=low * debian/copyright fixes. * Fixed upstream author. -- Stefanos Harhalakis Wed, 13 May 2009 23:28:01 +0300 libnet (1.1.3-1) unstable; urgency=low * New upstream release / upstream takeover (Closes: #418975) * New maintainer (Closes: #516222) * debian/rules changed to CDBS -- Stefanos Harhalakis Wed, 13 May 2009 21:43:35 +0300 libnet (1.1.2.1-5) unstable; urgency=low * Orphaning package * debian/control: - Maintainer set to QA team - Chris Hanson removed from Uploaders - libnet1-dbg package moved to section "debug" - Standards-Version bumped to 3.8.1 (no changes needed) - added Vcs-* fields * debian/patches/: - 00-fix_build_process.patch, 01-fix_libnet-functions.h.3.patch, 02-fix_libnet_802_1q_hdr.3.patch, 03-fix_libnet_802_1x_hdr.3.patch, 04-fix_libnet_build_ntp.patch, 06-fix_libnet_pblock_coalesce_leak.patch, 07-add_libnet-cq-end-loop.patch, 08-fix_libnet_checksum.c.patch, 09-fix_hurd-i386_build.patch : added patch descriptions * debian/README.source added -- David Paleino Wed, 06 May 2009 14:55:36 +0200 libnet (1.1.2.1-4) unstable; urgency=low * debian/patches: - series: disable 05-fix_libnet_pblock_coalesce_buffer_overrun.patch (Closes: #499239) -- looking for a new way to fix #418975 -- David Paleino Fri, 19 Sep 2008 08:11:53 +0200 libnet (1.1.2.1-3) unstable; urgency=low * Package adopted (Closes: #483710) * debian/compat bumped to 6 * debian/control: - set myself as Maintainer - updated debhelper B-D to >= 6 - added quilt B-D - Standards-Version bumped to 3.8.0: + added parallel-building capabilities to debian/rules - added Homepage field - added libnet1-doc package: + moved libnet1-dev.doc* to libnet1-doc.doc* + updated libnet1-doc.doc-base + added libnet1-doc.{postinst,prerm} to register files with doc-base + added libnet1-doc.examples - added libnet1-dbg package: + added --dbg-package to dh_strip in debian/rules * debian/*.files moved to debian/*.install (using dh_install instead of dh_movefiles in debian/rules) * debian/rules: - added LDFLAGS to ./configure - added quilt capabilities * debian/libnet-config.1: fixed hyphen-used-as-minus-sign lintian warning * debian/patches: - 00-fix_build_process.patch added (moving from .diff.gz to a proper patch) - 01-fix_libnet-functions.h.3.patch added (hyphen-used-as-minus-sign) - 02-fix_libnet_802_1q_hdr.3.patch added (manpage-has-bad-whatis-entry) - 03-fix_libnet_802_1x_hdr.3.patch added (manpage-has-bad-whatis-entry) - 04-fix_libnet_build_ntp.patch added (Closes: #418249) - 05-fix_libnet_pblock_coalesce_buffer_overrun.patch added (Closes: #418975), thanks to Simon Horman - 06-fix_libnet_pblock_coalesce_leak.patch added (Closes: #418979), thanks to Simon Horman - 07-add_libnet-cq-end-loop.patch added (Closes: #497909) - 08-fix_libnet_checksum.c.patch added (moving from .diff.gz to a proper patch) - 09-fix_hurd-i386_build.patch added (fixes build on Hurd i386) (Closes: #457506) * debian/copyright: - updated to RFC822 machine-readable format - updated with *lots* of missing information * debian/libnet1.symbols added * debian/watch added * debian/libnet1-doc.{postinst,prerm} removed -- David Paleino Thu, 11 Sep 2008 16:55:36 +0200 libnet (1.1.2.1-2) unstable; urgency=low * Fixed bugus checksum of odd sized packets (closes: #284729). Patch courtesy of Wu Yongwei. -- Domenico Andreoli Mon, 3 Jan 2005 00:27:05 +0100 libnet (1.1.2.1-1) unstable; urgency=low * New upstream version. -- Domenico Andreoli Wed, 31 Mar 2004 03:08:51 +0200 libnet (1.1.2-1) unstable; urgency=low * New upstream version. -- Domenico Andreoli Sat, 27 Mar 2004 20:28:38 +0100 libnet (1.1.1rel-2) unstable; urgency=low * Domenico Andreoli : - Add README.Debian explaining doc problems. (closes: Bug#224674) * Chris Hanson : - Include man page for libnet-functions.h. (closes: Bug#232465) - Patch "libnet_if_addr.c" so that it can detect interfaces that are down. (closes: Bug#219108) - Modify rules to automatically update config.* and to support noopt, and bump standards version to 3.6.1. - Add myself as uploader. - Edit package descriptions. -- Chris Hanson Fri, 27 Feb 2004 13:35:31 -0500 libnet (1.1.1rel-1) unstable; urgency=low * New upstream version. -- Domenico Andreoli Fri, 28 Nov 2003 00:47:24 +0100 libnet (1.1.1rc5-0rc5+1) unstable; urgency=low * Fixed a simple ABI change (closes: #210341). -- Domenico Andreoli Thu, 11 Sep 2003 01:51:28 +0200 libnet (1.1.1rc5-0rc5) unstable; urgency=low * New upstream beta version: - it now works with interfaces without IP address (closes: #180441). * Now debian/rules passes host and build params to configure (closes: #187195) * Changed section of libnet1-dev to libdevel. * Fixed some buffer overflows in DHCP code (closes: #205610). -- Domenico Andreoli Thu, 21 Aug 2003 01:13:22 +0200 libnet (1.1.0-3) unstable; urgency=low * Uses @LTLIBOBJS@ instead of @LIBOBJS@ in src/Makefile.am. This fixes, among others, the -fPIC problem on hppa (closes: #170979). -- Domenico Andreoli Thu, 28 Nov 2002 11:56:48 +0100 libnet (1.1.0-2) unstable; urgency=low * Fixed configure.in and acinclude.m4 to work with autoconf >= 2.54. * Added AM_MAINTAINER_MODE to configure.in (closes: #170609). -- Domenico Andreoli Tue, 26 Nov 2002 01:48:37 +0100 libnet (1.1.0-1) unstable; urgency=low * New upstream version (closes: #156309). Sorry for the huge delay :( -- Domenico Andreoli Tue, 19 Nov 2002 01:03:41 +0100 libnet0 (1.0.2a-4) unstable; urgency=low * Backported a working configure check for PF_PACKET interface from libnet 1.1.0, original one of version 1.0.2a was broken. * Enabled the support for the PF_PACKET interface, this will break the use on kernels of the 2.0.x series and older. -- Domenico Andreoli Thu, 24 Oct 2002 16:50:36 +0200 libnet0 (1.0.2a-3) unstable; urgency=low * Source package name changed to libnet0, I intend to use libnet name for the source package of next major version of libnet, 1.1.0, which I'm going to upload sooner or later. * Section field changed to "oldlibs". This release is here only for the nostalgics and their software. Probably this will be the last one of the 1.0.x branch. -- Domenico Andreoli Sat, 19 Oct 2002 20:38:26 +0200 libnet (1.0.2a-2) unstable; urgency=low * Added the reference manual found on libnet site. * Added testsuite sources to the available examples (closes: #91752). -- Domenico Andreoli Fri, 1 Feb 2002 20:34:08 +0100 libnet (1.0.2a-1) unstable; urgency=low * New upstream release. - removed dangling symlink (closes: #97233). * Fixed compiler warnings (closes: #106071). Patch courtesy of Ryan Bradetich. * Added manpage for libnet-config. * Acknowledged NMU, courtesy of LaMont Jones (closes: #121235). * New Debian maintainer (closes: #86874). -- Domenico Andreoli Fri, 18 Jan 2002 16:34:18 +0100 libnet (1.0.1b-2.1) unstable; urgency=low * Non maintainer upload. * New config.guess and config.sub for architecture support (closes: #121235). -- LaMont Jones Wed, 12 Dec 2001 16:35:10 -0700 libnet (1.0.1b-2) unstable; urgency=low * Include new version of config.{guess,sub} (closes: #90425). * Updated to policy 3.5.0. * Added a Build-Depends on debhelper. * Changed depends from libc-dev to libc6-dev. -- Sean 'Shaleh' Perry Mon, 2 Apr 2001 10:27:39 -0700 libnet (1.0.1b-1) unstable; urgency=low * New upstream release. -- Sean 'Shaleh' Perry Thu, 5 Oct 2000 13:32:43 -0700 libnet (1.0-1) unstable; urgency=low * New upstream release. * Changes to meet current policy. -- Sean E. Perry Thu, 11 Nov 1999 23:54:10 -0800 libnet (0.99g-1) unstable; urgency=low * Initial release. -- Sean E. Perry Mon, 13 Sep 1999 18:16:40 -0700 debian/libnet1-doc.examples0000664000000000000000000000002612247477024013040 0ustar sample/*.c sample/*.h debian/control0000664000000000000000000000636512247477715010625 0ustar Source: libnet Section: net Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Stefanos Harhalakis Build-Depends: debhelper (>= 9), sharutils, libpcap-dev, cdbs (>=0.4.93~), patchutils, autotools-dev, dh-autoreconf Standards-Version: 3.9.4 Homepage: http://libnet-dev.sourceforge.net/ Package: libnet1 Architecture: any Section: libs Multi-Arch: same Pre-Depends: ${misc:Pre-Depends}, multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Description: library for the construction and handling of network packets libnet provides a portable framework for low-level network packet writing and handling. . libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary functionality. . Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). . This package contains the shared library. Package: libnet1-dbg Architecture: any Priority: extra Section: debug Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, libnet1 (= ${binary:Version}), ${misc:Depends} Description: debugging symbols for libnet libnet provides a portable framework for low-level network packet writing and handling. . libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary functionality. . Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). . This package contains the debugging symbols for libnet. Package: libnet1-dev Architecture: any Section: libdevel Provides: libnet-dev Conflicts: libnet-dev Depends: libc6-dev, libnet1 (= ${binary:Version}), ${misc:Depends} Description: development files for libnet libnet provides a portable framework for low-level network packet writing and handling. . libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary functionality. . Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). . This package contains the files needed to compile and link programs that use libnet. Package: libnet1-doc Architecture: all Section: doc Suggests: libnet1-dev Depends: ${misc:Depends} Description: developers documentation files for libnet libnet provides a portable framework for low-level network packet writing and handling. . libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary functionality. . Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). . This package contains the documentation files for developers. debian/libnet1-doc.docs0000664000000000000000000000017712247477024012161 0ustar README doc/CONTRIB doc/TODO doc/DESIGN_NOTES doc/MIGRATION doc/PACKET_BUILDING doc/PORTED doc/RAWSOCKET_NON_SEQUITUR doc/html/ debian/rules0000775000000000000000000000103412247477647010272 0ustar #!/usr/bin/make -f DEB_BUILD_PARALLEL=1 include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk #DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-z,defs,--as-needed" # Don't enable -Werror as the package may FTBFS when a new gcc is introduced # Use it for testing though # -Werror CFLAGS += -Wno-uninitialized -Wno-unused-but-set-variable DEB_INSTALL_CHANGELOGS_libnet1 := doc/CHANGELOG DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) debian/libnet1-dev.install0000664000000000000000000000011112247477024012674 0ustar usr/bin/libnet-config usr/lib/*/libnet.a usr/lib/*/libnet.so usr/include debian/watch0000664000000000000000000000025012247477024010227 0ustar version=3 opts=dversionmangle=s/\+dfsg//,\ uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/ \ http://sf.net/libnet-dev/libnet-(.+)\.tar\.gz debian/libnet1.install0000664000000000000000000000002612247477024012125 0ustar usr/lib/*/libnet.so.* debian/libnet1-doc.doc-base0000664000000000000000000000051112247477024012676 0ustar Document: libnet1-doc Title: Libnet Packet Assembly Library Author: Mike D. Schiffman, Sam Roberts Abstract: This manual describes to developers how to use the LibNet library Section: Programming Format: HTML Index: /usr/share/doc/libnet1-doc/html/index.html Files: /usr/share/doc/libnet1-doc/html/*.html debian/clean0000664000000000000000000000004612247477113010205 0ustar INSTALL NEWS AUTHORS ChangeLog COPYINGdebian/libnet-config.10000664000000000000000000000205412247477024012004 0ustar .\" Written by Domenico Andreoli for Debian GNU/Linux. .\" Do whatever you want with this file. .\" NO warranty is provided. .TH libnet-config 1 "18 November 2002" "Libnet 1.1.0" "libnet-config manual" .SH NAME libnet-config \- Get information about a libnet installation .SH SYNOPSIS .B libnet-config [options] .SH DESCRIPTION .B libnet-config displays information about a previous libnet installation. .SH OPTIONS .IP "--cflags" Set of compiler options (CFLAGS) to use when compiling files that use libnet. .IP "--libs" Shows the complete set of libs and other linker options you will need in order to link your application with libnet. .IP "--defines" Set of compiler defines used to compile libnet. .SH "EXAMPLES" What linker options do I need when I link with libnet? libnet-config \-\-libs What compiler options do I need when I compile using libnet functions? libnet-config \-\-cflags .SH SEE ALSO .BR libnet (3) .SH AUTHOR This manual page was written by Domenico Andreoli for the Debian GNU/Linux system (but may be used by others). debian/patches/0000775000000000000000000000000012247477024010630 5ustar debian/patches/fix-manpages0000664000000000000000000004766212247477024013151 0ustar From: Stefanos Harhalakis Subject: Fix various manpage issues. Index: libnet-1.1.6/doc/man/man3/libnet-functions.h.3 =================================================================== --- libnet-1.1.6.orig/doc/man/man3/libnet-functions.h.3 2012-03-29 22:19:18.000000000 +0100 +++ libnet-1.1.6/doc/man/man3/libnet-functions.h.3 2012-06-21 22:05:45.126551531 +0100 @@ -514,7 +514,7 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP @@ -531,7 +531,7 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP @@ -558,7 +558,7 @@ .PP \fBReturns:\fP .RS 4 -the number of bytes written, or -1 on failure +the number of bytes written, or \-1 on failure .RE .PP @@ -575,7 +575,7 @@ .PP \fBReturns:\fP .RS 4 -the number of bytes written, or -1 on failure +the number of bytes written, or \-1 on failure .RE .PP @@ -598,7 +598,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -615,7 +615,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -642,7 +642,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -661,7 +661,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -682,7 +682,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -701,7 +701,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -730,7 +730,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -749,7 +749,7 @@ .PP It is important to note that some functions (notably the IPv6 builders) do use the payload interface to specify variable length but ostensibly non-optional data. See the individual libnet_build_ipv6*() functions for more information. .SS "Protocol Tags and Packet Builder Return Values" -Libnet uses the protocol tag (ptag) to identify individual pieces of a packet after being created. A new ptag results every time a libnet_build() function with an empty (0) ptag argument completes successfully. This new ptag now refers to the packet piece just created. The application programmer's responsibility is to save this value if he or she plans to modify this particular portion later on in the program. If the application programmer needs to modify some portion of that particular packet piece again, he or she calls the same libnet_build() function specifying the saved ptag argument. Libnet then searches for that packet piece and modifies it rather than creating a new one. Upon failure for any reason, libnet_build() functions return -1; \fBlibnet_geterror()\fP tells you why. Builds an IEEE 802.1q VLAN tagging header. Depending on the value of len_proto, the function wraps the 802.1q header inside either an IEEE 802.3 header or an RFC 894 Ethernet II (DIX) header (both resulting in an 18-byte frame). If len is 1500 or less, most receiving protocol stacks parse the frame as an IEEE 802.3 encapsulated frame. If len is one of the Ethernet type values, most protocol stacks parse the frame as an RFC 894 Ethernet II encapsulated frame. Note the length value is calculated without the 802.1q header of 18 bytes. +Libnet uses the protocol tag (ptag) to identify individual pieces of a packet after being created. A new ptag results every time a libnet_build() function with an empty (0) ptag argument completes successfully. This new ptag now refers to the packet piece just created. The application programmer's responsibility is to save this value if he or she plans to modify this particular portion later on in the program. If the application programmer needs to modify some portion of that particular packet piece again, he or she calls the same libnet_build() function specifying the saved ptag argument. Libnet then searches for that packet piece and modifies it rather than creating a new one. Upon failure for any reason, libnet_build() functions return \-1; \fBlibnet_geterror()\fP tells you why. Builds an IEEE 802.1q VLAN tagging header. Depending on the value of len_proto, the function wraps the 802.1q header inside either an IEEE 802.3 header or an RFC 894 Ethernet II (DIX) header (both resulting in an 18-byte frame). If len is 1500 or less, most receiving protocol stacks parse the frame as an IEEE 802.3 encapsulated frame. If len is one of the Ethernet type values, most protocol stacks parse the frame as an RFC 894 Ethernet II encapsulated frame. Note the length value is calculated without the 802.1q header of 18 bytes. .PP \fBParameters:\fP .RS 4 @@ -778,7 +778,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -803,7 +803,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -828,7 +828,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -857,7 +857,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -882,7 +882,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -919,7 +919,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -944,7 +944,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -967,7 +967,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -996,7 +996,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1027,7 +1027,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1072,7 +1072,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1103,7 +1103,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1122,7 +1122,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1167,7 +1167,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1200,7 +1200,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1234,7 +1234,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1259,7 +1259,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1294,7 +1294,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1328,7 +1328,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1341,7 +1341,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1366,7 +1366,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1405,7 +1405,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1434,7 +1434,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1465,7 +1465,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1492,7 +1492,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1519,7 +1519,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1554,7 +1554,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1579,7 +1579,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1608,7 +1608,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1637,7 +1637,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1664,7 +1664,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1685,7 +1685,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1710,7 +1710,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1737,12 +1737,12 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP \fBNote:\fP .RS 4 -'reserved' was previously called 'code', which it is not, in any IGMP version. +\&'reserved' was previously called 'code', which it is not, in any IGMP version. .RE .PP @@ -1773,7 +1773,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1798,7 +1798,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1823,7 +1823,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1860,7 +1860,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1883,7 +1883,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1916,7 +1916,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1939,7 +1939,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1966,7 +1966,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -1989,7 +1989,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2016,7 +2016,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2053,7 +2053,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2080,7 +2080,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2107,7 +2107,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2147,7 +2147,7 @@ .br \fIrec_ts_int\fP receiver timestamp integer .br -\fIrec_ts_frac\fP reciever timestamp fraction +\fIrec_ts_frac\fP receiver timestamp fraction .br \fIxmt_ts_int\fP transmit timestamp integer .br @@ -2164,7 +2164,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2193,7 +2193,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2218,7 +2218,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2249,7 +2249,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2282,7 +2282,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2307,7 +2307,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2328,7 +2328,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2359,7 +2359,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2382,7 +2382,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2405,7 +2405,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2424,7 +2424,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2461,7 +2461,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2502,7 +2502,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2543,7 +2543,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2586,7 +2586,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2611,7 +2611,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2648,7 +2648,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2667,7 +2667,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2704,7 +2704,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2731,7 +2731,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2766,7 +2766,7 @@ .PP \fBReturns:\fP .RS 4 -protocol tag value on success, -1 on error +protocol tag value on success, \-1 on error .RE .PP @@ -2789,7 +2789,7 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP @@ -2947,7 +2947,7 @@ .RE .PP -.SS "uint32_t libnet_get_ipaddr4 (libnet_t *l)"Returns the IP address for the device libnet was initialized with. If libnet was initialized without a device (in raw socket mode) the function will attempt to find one. If the function fails and returns -1 a call to libnet_geterrror() will tell you why. +.SS "uint32_t libnet_get_ipaddr4 (libnet_t *l)"Returns the IP address for the device libnet was initialized with. If libnet was initialized without a device (in raw socket mode) the function will attempt to find one. If the function fails and returns \-1 a call to libnet_geterrror() will tell you why. .PP \fBParameters:\fP .RS 4 @@ -2956,7 +2956,7 @@ .PP \fBReturns:\fP .RS 4 -a big endian IP address suitable for use in a libnet_build function or -1 +a big endian IP address suitable for use in a libnet_build function or \-1 .RE .PP @@ -2982,7 +2982,7 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP @@ -3137,7 +3137,7 @@ .PP \fBReturns:\fP .RS 4 -network byte ordered IPv4 address or -1 (2^32 - 1) on error +network byte ordered IPv4 address or \-1 (2^32 - 1) on error .RE .PP @@ -3167,7 +3167,7 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP @@ -3193,11 +3193,11 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP -.SS "int libnet_plist_chain_new (libnet_t *l, libnet_plist_t **plist, char *token_list)"Creates a new port list. Port list chains are useful for TCP and UDP-based applications that need to send packets to a range of ports (contiguous or otherwise). The port list chain, which token_list points to, should contain a series of int8_tacters from the following list: '0123456789,-' of the general format 'x - y, z', where 'xyz' are port numbers between 0 and 65,535. plist points to the front of the port list chain list for use in further libnet_plist_chain() functions. Upon success, the function returns 1. Upon failure, the function returns -1 and \fBlibnet_geterror()\fP can tell you why. +.SS "int libnet_plist_chain_new (libnet_t *l, libnet_plist_t **plist, char *token_list)"Creates a new port list. Port list chains are useful for TCP and UDP-based applications that need to send packets to a range of ports (contiguous or otherwise). The port list chain, which token_list points to, should contain a series of int8_tacters from the following list: '0123456789,-' of the general format 'x - y, z', where 'xyz' are port numbers between 0 and 65,535. plist points to the front of the port list chain list for use in further libnet_plist_chain() functions. Upon success, the function returns 1. Upon failure, the function returns \-1 and \fBlibnet_geterror()\fP can tell you why. .PP \fBParameters:\fP .RS 4 @@ -3210,11 +3210,11 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP -.SS "int libnet_plist_chain_next_pair (libnet_plist_t *plist, uint16_t *bport, uint16_t *eport)"Returns the next port list chain pair from the port list chain plist. bport and eport contain the starting port number and ending port number, respectively. Upon success, the function returns 1 and fills in the port variables; however, if the list is empty, the function returns 0 and sets both port variables to 0. Upon failure, the function returns -1. +.SS "int libnet_plist_chain_next_pair (libnet_plist_t *plist, uint16_t *bport, uint16_t *eport)"Returns the next port list chain pair from the port list chain plist. bport and eport contain the starting port number and ending port number, respectively. Upon success, the function returns 1 and fills in the port variables; however, if the list is empty, the function returns 0 and sets both port variables to 0. Upon failure, the function returns \-1. .PP \fBParameters:\fP .RS 4 @@ -3227,7 +3227,7 @@ .PP \fBReturns:\fP .RS 4 -1 on success, 0 if empty, -1 on failure +1 on success, 0 if empty, \-1 on failure .RE .PP @@ -3240,7 +3240,7 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP @@ -3267,7 +3267,7 @@ .PP \fBReturns:\fP .RS 4 -1 on success, -1 on failure +1 on success, \-1 on failure .RE .PP @@ -3288,7 +3288,7 @@ .PP \fBReturns:\fP .RS 4 -the number of bytes written, -1 on error +the number of bytes written, \-1 on error .RE .PP debian/patches/fix-return-value-ignore0000664000000000000000000000140412247477024015250 0ustar From: Stefanos Harhalakis Subject: Assign the returned value to a variable to prevent gcc from warning. Index: libnet-1.1.6/src/libnet_version.c =================================================================== --- libnet-1.1.6.orig/src/libnet_version.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/src/libnet_version.c 2012-06-21 20:44:01.662970535 +0100 @@ -48,11 +48,13 @@ { /* * We don't check for error cos we really don't care. + * but compilation will fail, so store the return value somewhere. */ #if defined (__WIN32__) fprintf(stdout, "%s", banner); #else - (void)write(STDOUT_FILENO, banner, sizeof(banner) - 1); + ssize_t n; + n=write(STDOUT_FILENO, banner, sizeof(banner) - 1); #endif } debian/patches/fix-samples0000664000000000000000000004537312247477024013017 0ustar From: Stefanos Harhalakis Subject: Fix gcc warnings. This is just to make -Werror succeed as the samples are not that important. Index: libnet-1.1.6/sample/cdp.c =================================================================== --- libnet-1.1.6.orig/sample/cdp.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/cdp.c 2012-06-21 20:55:20.992874861 +0100 @@ -86,7 +86,7 @@ index += 5; /* this TLV is handled by the libnet builder */ - value = argv[2]; + value = (u_char *)argv[2]; len = strlen(argv[2]); /* build CDP header */ Index: libnet-1.1.6/sample/dhcp_discover.c =================================================================== --- libnet-1.1.6.orig/sample/dhcp_discover.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/dhcp_discover.c 2012-06-21 20:56:41.951290580 +0100 @@ -238,7 +238,8 @@ fprintf(stderr, "Packets sent: %lld\n" "Packet errors: %lld\n" "Bytes written: %lld\n", - ls.packets_sent, ls.packet_errors, ls.bytes_written); + (long long)ls.packets_sent, (long long)ls.packet_errors, + (long long)ls.bytes_written); libnet_destroy(l); free(options); Index: libnet-1.1.6/sample/ping_of_death.c =================================================================== --- libnet-1.1.6.orig/sample/ping_of_death.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/ping_of_death.c 2012-06-21 20:58:05.241747888 +0100 @@ -158,7 +158,8 @@ fprintf(stderr, "Packets sent: %lld\n" "Packet errors: %lld\n" "Bytes written: %lld\n", - ls.packets_sent, ls.packet_errors, ls.bytes_written); + (long long)ls.packets_sent, (long long)ls.packet_errors, + (long long)ls.bytes_written); libnet_destroy(l); free(data); return (EXIT_SUCCESS); Index: libnet-1.1.6/sample/udp1.c =================================================================== --- libnet-1.1.6.orig/sample/udp1.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/udp1.c 2012-06-21 20:58:31.749211851 +0100 @@ -204,7 +204,8 @@ fprintf(stderr, "Packets sent: %lld\n" "Packet errors: %lld\n" "Bytes written: %lld\n", - ls.packets_sent, ls.packet_errors, ls.bytes_written); + (long long)ls.packets_sent, (long long)ls.packet_errors, + (long long)ls.bytes_written); libnet_destroy(l); return (EXIT_SUCCESS); bad: Index: libnet-1.1.6/sample/udp2.c =================================================================== --- libnet-1.1.6.orig/sample/udp2.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/udp2.c 2012-06-21 21:01:24.792242599 +0100 @@ -137,7 +137,7 @@ cport, /* destination port */ LIBNET_UDP_H + payload_s, /* packet size */ 0, /* checksum */ - payload, /* payload */ + (uint8_t *)payload, /* payload */ payload_s, /* payload size */ l, /* libnet handle */ udp); /* libnet id */ @@ -208,13 +208,15 @@ #endif libnet_timersub(&e, &s, &r); - fprintf(stderr, "Total time spent in loop: %d.%d\n", r.tv_sec, r.tv_usec); + fprintf(stderr, "Total time spent in loop: %d.%d\n", (int)r.tv_sec, + (int)r.tv_usec); libnet_stats(l, &ls); fprintf(stderr, "Packets sent: %lld\n" "Packet errors: %lld\n" "Bytes written: %lld\n", - ls.packets_sent, ls.packet_errors, ls.bytes_written); + (long long)ls.packets_sent, (long long)ls.packet_errors, + (long long)ls.bytes_written); libnet_destroy(l); return (EXIT_SUCCESS); bad: Index: libnet-1.1.6/sample/icmp6_echoreq.c =================================================================== --- libnet-1.1.6.orig/sample/icmp6_echoreq.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/icmp6_echoreq.c 2012-06-21 21:02:07.579992513 +0100 @@ -126,7 +126,7 @@ char payload[56]; int i; for (i=0; i<56; i++) payload[i]='A'+((char)(i%26)); - t = libnet_build_icmpv4_echo(ICMP6_ECHO,0,0,1,0,payload,sizeof(payload),l,t); + t = libnet_build_icmpv4_echo(ICMP6_ECHO,0,0,1,0,(uint8_t *)payload,sizeof(payload),l,t); if (build_ip) { Index: libnet-1.1.6/sample/icmp_echo_cq.c =================================================================== --- libnet-1.1.6.orig/sample/icmp_echo_cq.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/icmp_echo_cq.c 2012-06-21 21:02:39.515552361 +0100 @@ -149,7 +149,7 @@ 0, /* checksum */ src_ip, /* source IP */ dst_ip, /* destination IP */ - payload, /* payload */ + (uint8_t *)payload, /* payload */ payload_s, /* payload size */ l, /* libnet handle */ 0); Index: libnet-1.1.6/sample/dot1x.c =================================================================== --- libnet-1.1.6.orig/sample/dot1x.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/dot1x.c 2012-06-21 21:03:18.708239579 +0100 @@ -68,7 +68,7 @@ 0, LIBNET_802_1X_PACKET, sizeof(payload), - payload, + (uint8_t *)payload, sizeof(payload), l, 0); Index: libnet-1.1.6/sample/dns.c =================================================================== --- libnet-1.1.6.orig/sample/dns.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/dns.c 2012-06-21 21:03:37.982577603 +0100 @@ -140,7 +140,7 @@ 0, /* num_anws_rr */ 0, /* num_auth_rr */ 0, /* num_addi_rr */ - payload, + (uint8_t *)payload, payload_s, l, 0 Index: libnet-1.1.6/sample/rpc_tcp.c =================================================================== --- libnet-1.1.6.orig/sample/rpc_tcp.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/rpc_tcp.c 2012-06-21 21:04:00.556973551 +0100 @@ -131,7 +131,7 @@ 0, 0, NULL, - payload, + (uint8_t *)payload, payload_s, l, 0); Index: libnet-1.1.6/sample/rpc_udp.c =================================================================== --- libnet-1.1.6.orig/sample/rpc_udp.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/rpc_udp.c 2012-06-21 21:04:24.933401169 +0100 @@ -136,7 +136,7 @@ 0, 0, NULL, - payload, + (uint8_t *)payload, payload_s, l, 0); Index: libnet-1.1.6/sample/mpls.c =================================================================== --- libnet-1.1.6.orig/sample/mpls.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/mpls.c 2012-06-21 21:07:43.425885468 +0100 @@ -107,8 +107,8 @@ } break; case 'p': - payload = optarg; - payload_s = strlen(payload); + payload = (u_char *)optarg; + payload_s = strlen((char *)payload); break; default: exit(EXIT_FAILURE); Index: libnet-1.1.6/sample/fddi_tcp1.c =================================================================== --- libnet-1.1.6.orig/sample/fddi_tcp1.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/fddi_tcp1.c 2012-06-21 21:08:20.399534941 +0100 @@ -132,7 +132,7 @@ 0, /* checksum */ 0, /* urgent pointer */ LIBNET_TCP_H + payload_s, /* TCP packet size */ - payload, /* payload */ + (uint8_t *)payload, /* payload */ payload_s, /* payload size */ l, /* libnet handle */ 0); /* libnet id */ Index: libnet-1.1.6/sample/fddi_tcp2.c =================================================================== --- libnet-1.1.6.orig/sample/fddi_tcp2.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/fddi_tcp2.c 2012-06-21 21:08:42.129916715 +0100 @@ -132,7 +132,7 @@ 0, /* checksum */ 0, /* urgent pointer */ LIBNET_TCP_H + payload_s, /* TCP packet size */ - payload, /* payload */ + (uint8_t *)payload, /* payload */ payload_s, /* payload size */ l, /* libnet handle */ 0); /* libnet id */ Index: libnet-1.1.6/sample/tring_tcp1.c =================================================================== --- libnet-1.1.6.orig/sample/tring_tcp1.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/tring_tcp1.c 2012-06-21 21:09:13.066460312 +0100 @@ -132,7 +132,7 @@ 0, /* checksum */ 0, /* urgent pointer */ LIBNET_TCP_H + payload_s, /* TCP packet size */ - payload, /* payload */ + (uint8_t *)payload, /* payload */ payload_s, /* payload size */ l, /* libnet handle */ 0); /* libnet id */ Index: libnet-1.1.6/sample/tring_tcp2.c =================================================================== --- libnet-1.1.6.orig/sample/tring_tcp2.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/tring_tcp2.c 2012-06-21 21:09:38.263903139 +0100 @@ -132,7 +132,7 @@ 0, /* checksum */ 0, /* urgent pointer */ LIBNET_TCP_H + payload_s, /* TCP packet size */ - payload, /* payload */ + (uint8_t *)payload, /* payload */ payload_s, /* payload size */ l, /* libnet handle */ 0); /* libnet id */ Index: libnet-1.1.6/sample/bgp4_hdr.c =================================================================== --- libnet-1.1.6.orig/sample/bgp4_hdr.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/bgp4_hdr.c 2012-06-21 21:10:24.918723213 +0100 @@ -116,8 +116,8 @@ break; case 'p': - payload = optarg; - payload_s = strlen(optarg); + payload = (u_char *)optarg; + payload_s = strlen((char *)optarg); break; default: Index: libnet-1.1.6/sample/bgp4_open.c =================================================================== --- libnet-1.1.6.orig/sample/bgp4_open.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/bgp4_open.c 2012-06-21 21:11:01.794371558 +0100 @@ -124,7 +124,7 @@ break; case 'p': - payload = optarg; + payload = (u_char *)optarg; break; case 'S': @@ -156,7 +156,7 @@ if (payload && !payload_s) { - payload_s = strlen(payload); + payload_s = strlen((char *)payload); } length = LIBNET_BGP4_OPEN_H + payload_s; Index: libnet-1.1.6/sample/bgp4_update.c =================================================================== --- libnet-1.1.6.orig/sample/bgp4_update.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/bgp4_update.c 2012-06-21 21:13:40.853169540 +0100 @@ -95,7 +95,7 @@ \ if (ptr && !size) \ { \ - size = strlen(ptr); \ + size = strlen((char *)ptr); \ } @@ -169,12 +169,12 @@ break; case 'p': - payload = optarg; - payload_s = strlen(payload); + payload = (u_char *)optarg; + payload_s = strlen((char *)payload); break; case 'w': - withdraw_rt = optarg; + withdraw_rt = (u_char *)optarg; break; case 'W': @@ -182,7 +182,7 @@ break; case 'a': - attr = optarg; + attr = (u_char *)optarg; break; case 'A': @@ -190,7 +190,7 @@ break; case 'i': - info = optarg; + info = (u_char *)optarg; break; case 'I': Index: libnet-1.1.6/sample/bgp4_notification.c =================================================================== --- libnet-1.1.6.orig/sample/bgp4_notification.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/bgp4_notification.c 2012-06-21 21:14:15.948787222 +0100 @@ -123,8 +123,8 @@ break; case 'p': - payload = optarg; - payload_s = strlen(optarg); + payload = (u_char *)optarg; + payload_s = strlen((char *)optarg); break; default: Index: libnet-1.1.6/sample/gre.c =================================================================== --- libnet-1.1.6.orig/sample/gre.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/gre.c 2012-06-21 21:16:05.998724822 +0100 @@ -177,7 +177,7 @@ gre_flags|=GRE_CSUM; break; case 'r': - routing = optarg; + routing = (u_char *)optarg; gre_flags|=GRE_ROUTING; break; case 'k': @@ -316,11 +316,11 @@ fprintf(stderr, "Can't build GRE last SRE header: %s\n", libnet_geterror(l)); goto bad; } - size += LIBNET_GRE_SRE_H + strlen(routing); + size += LIBNET_GRE_SRE_H + strlen((char *)routing); t = libnet_build_gre_sre( GRE_IP, /* address family */ 0, /* offset */ - strlen(routing), /* routing length */ + strlen((char *)routing), /* routing length */ routing, /* routing info */ NULL, /* payload */ 0, /* payload size */ @@ -379,8 +379,8 @@ } t = libnet_autobuild_ethernet( - "11:11:11:11:11:11", /* ethernet destination */ - ETHERTYPE_IP, /* protocol type */ + (uint8_t *)"11:11:11:11:11:11", /* ethernet destination */ + ETHERTYPE_IP, /* protocol type */ l); /* libnet handle */ if (t == -1) { Index: libnet-1.1.6/sample/ip_link.c =================================================================== --- libnet-1.1.6.orig/sample/ip_link.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/ip_link.c 2012-06-21 21:17:15.126942483 +0100 @@ -88,8 +88,8 @@ break; case 'p': - strncpy(payload, optarg, sizeof(payload)-1); - payload_s = strlen(payload); + strncpy((char *)payload, optarg, sizeof(payload)-1); + payload_s = strlen((char *)payload); break; case 'h': @@ -154,8 +154,8 @@ } eth_ptag = libnet_build_ethernet( - hwdst, /* ethernet destination */ - hwsrc, /* ethernet source */ + (uint8_t *)hwdst, /* ethernet destination */ + (uint8_t *)hwsrc, /* ethernet source */ ETHERTYPE_IP, /* protocol type */ NULL, /* payload */ 0, /* payload size */ Index: libnet-1.1.6/sample/ip_raw.c =================================================================== --- libnet-1.1.6.orig/sample/ip_raw.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/ip_raw.c 2012-06-21 21:17:48.082523128 +0100 @@ -81,8 +81,8 @@ break; case 'p': - strncpy(payload, optarg, sizeof(payload)-1); - payload_s = strlen(payload); + strncpy((char *)payload, optarg, sizeof(payload)-1); + payload_s = strlen((char *)payload); break; case 'h': Index: libnet-1.1.6/sample/sebek.c =================================================================== --- libnet-1.1.6.orig/sample/sebek.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/sebek.c 2012-06-21 21:21:55.309881960 +0100 @@ -142,8 +142,8 @@ case 'p': payload_flag = 1; - payload = optarg; - payload_s = strlen(payload); + payload = (u_char *)optarg; + payload_s = strlen((char *)payload); break; case 'h': @@ -194,7 +194,7 @@ if (!payload) { - payload = cmd; + payload = (uint8_t *)cmd; payload_s = length; } @@ -209,9 +209,9 @@ pid, uid, fd, - cmd, + (uint8_t *)cmd, /* LIBNET_ETH_H + LIBNET_IPV4_H + LIBNET_UDP_H + LIBNET_SEBEK_H +*/ length, - payload, + (uint8_t *)payload, payload_s, l, 0 @@ -261,9 +261,9 @@ } - eth_dst = libnet_hex_aton(eth_dst, &c); + eth_dst = (char *)libnet_hex_aton((char *)eth_dst, &c); ptag = libnet_autobuild_ethernet( - eth_dst, /* ethernet destination */ + (uint8_t *)eth_dst, /* ethernet destination */ ETHERTYPE_IP, /* protocol type */ l); /* libnet handle */ Index: libnet-1.1.6/sample/hsrp.c =================================================================== --- libnet-1.1.6.orig/sample/hsrp.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/sample/hsrp.c 2012-06-21 21:22:50.157849682 +0100 @@ -94,7 +94,7 @@ } memset(authdata, 0, 8); - strncpy(authdata, "cisco", 5); + strncpy((char *)authdata, "cisco", 5); ptag = libnet_build_hsrp( @@ -158,9 +158,9 @@ } - eth_dst = libnet_hex_aton(eth_dst, &c); + eth_dst = (char *)libnet_hex_aton(eth_dst, &c); ptag = libnet_autobuild_ethernet( - eth_dst, /* ethernet destination */ + (uint8_t *)eth_dst, /* ethernet destination */ ETHERTYPE_IP, /* protocol type */ l); /* libnet handle */ debian/patches/fix-socklent0000664000000000000000000000112112247477024013154 0ustar From: Stefanos Harhalakis Subject: Use socklen_t instead of int. Index: libnet-1.1.6/src/libnet_raw.c =================================================================== --- libnet-1.1.6.orig/src/libnet_raw.c 2012-03-19 16:59:50.000000000 +0000 +++ libnet-1.1.6/src/libnet_raw.c 2012-06-21 20:40:54.657695270 +0100 @@ -67,7 +67,7 @@ int libnet_open_raw4(libnet_t *l) { - int len; /* now supposed to be socklen_t, but maybe old systems used int? */ + socklen_t len; /* now supposed to be socklen_t, but maybe old systems used int? */ #if !(__WIN32__) int n = 1; debian/patches/series0000664000000000000000000000007612247477024012050 0ustar fix-socklent fix-return-value-ignore fix-samples fix-manpages debian/README.source0000664000000000000000000000012312247477024011354 0ustar The pristine package was altered to remove: win32/*.suo win32/*.ncb win32/*.opt debian/compat0000664000000000000000000000000212247477024010377 0ustar 7 debian/libnet1.symbols0000664000000000000000000001362312247477024012156 0ustar libnet.so.1 libnet1 #MINVER# __libnet_print_vers@Base 1.1.2.1 all_lists@Base 1.1.2.1 in6addr_error@Base 1.1.2.1 libnet_addr2name4@Base 1.1.2.1 libnet_addr2name4_r@Base 1.1.2.1 libnet_addr2name6_r@Base 1.1.2.1 libnet_adv_cull_header@Base 1.1.2.1 libnet_adv_cull_packet@Base 1.1.2.1 libnet_adv_free_packet@Base 1.1.2.1 libnet_adv_write_raw_ipv4@Base 1.1.3 libnet_adv_write_link@Base 1.1.2.1 libnet_autobuild_arp@Base 1.1.2.1 libnet_autobuild_ethernet@Base 1.1.2.1 libnet_autobuild_fddi@Base 1.1.2.1 libnet_autobuild_ipv4@Base 1.1.2.1 libnet_autobuild_ipv6@Base 1.1.2.1 libnet_autobuild_link@Base 1.1.5 libnet_autobuild_token_ring@Base 1.1.2.1 libnet_build_802_1q@Base 1.1.2.1 libnet_build_802_1x@Base 1.1.2.1 libnet_build_802_2@Base 1.1.2.1 libnet_build_802_2snap@Base 1.1.2.1 libnet_build_802_3@Base 1.1.2.1 libnet_build_arp@Base 1.1.2.1 libnet_build_asn1_bitstring@Base 1.1.2.1 libnet_build_asn1_header@Base 1.1.2.1 libnet_build_asn1_int@Base 1.1.2.1 libnet_build_asn1_length@Base 1.1.2.1 libnet_build_asn1_null@Base 1.1.2.1 libnet_build_asn1_objid@Base 1.1.2.1 libnet_build_asn1_sequence@Base 1.1.2.1 libnet_build_asn1_string@Base 1.1.2.1 libnet_build_asn1_uint@Base 1.1.2.1 libnet_build_bgp4_header@Base 1.1.2.1 libnet_build_bgp4_notification@Base 1.1.2.1 libnet_build_bgp4_open@Base 1.1.2.1 libnet_build_bgp4_update@Base 1.1.2.1 libnet_build_bootpv4@Base 1.1.2.1 libnet_build_cdp@Base 1.1.2.1 libnet_build_cdp_value@Base 1.1.2.1 libnet_build_data@Base 1.1.2.1 libnet_build_dhcpv4@Base 1.1.2.1 libnet_build_dnsv4@Base 1.1.2.1 libnet_build_egre@Base 1.1.2.1 libnet_build_ethernet@Base 1.1.2.1 libnet_build_fddi@Base 1.1.2.1 libnet_build_gre@Base 1.1.2.1 libnet_build_gre_last_sre@Base 1.1.2.1 libnet_build_hsrp@Base 1.1.3 libnet_build_gre_sre@Base 1.1.2.1 libnet_build_icmpv4_echo@Base 1.1.2.1 libnet_build_icmpv4_mask@Base 1.1.2.1 libnet_build_icmpv4_redirect@Base 1.1.2.1 libnet_build_icmpv4_timeexceed@Base 1.1.2.1 libnet_build_icmpv4_timestamp@Base 1.1.2.1 libnet_build_icmpv4_unreach@Base 1.1.2.1 libnet_build_icmpv6@Base 1.1.6 libnet_build_icmpv6_common@Base 1.1.6 libnet_build_icmpv6_echo@Base 1.1.6 libnet_build_icmpv6_ndp_nadv@Base 1.1.6 libnet_build_icmpv6_ndp_nsol@Base 1.1.6 libnet_build_icmpv6_ndp_opt@Base 1.1.6 libnet_build_icmpv6_unreach@Base 1.1.5 libnet_build_igmp@Base 1.1.2.1 libnet_build_ipsec_ah@Base 1.1.2.1 libnet_build_ipsec_esp_ftr@Base 1.1.2.1 libnet_build_ipsec_esp_hdr@Base 1.1.2.1 libnet_build_ipv4@Base 1.1.2.1 libnet_build_ipv4_options@Base 1.1.2.1 libnet_build_ipv6@Base 1.1.2.1 libnet_build_ipv6_destopts@Base 1.1.2.1 libnet_build_ipv6_frag@Base 1.1.2.1 libnet_build_ipv6_hbhopts@Base 1.1.2.1 libnet_build_ipv6_routing@Base 1.1.2.1 libnet_build_isl@Base 1.1.2.1 libnet_build_link@Base 1.1.5 libnet_build_mpls@Base 1.1.2.1 libnet_build_ntp@Base 1.1.2.1 libnet_build_ospfv2@Base 1.1.2.1 libnet_build_ospfv2_dbd@Base 1.1.2.1 libnet_build_ospfv2_hello@Base 1.1.2.1 libnet_build_ospfv2_lsa@Base 1.1.2.1 libnet_build_ospfv2_lsa_as@Base 1.1.2.1 libnet_build_ospfv2_lsa_net@Base 1.1.2.1 libnet_build_ospfv2_lsa_rtr@Base 1.1.2.1 libnet_build_ospfv2_lsa_sum@Base 1.1.2.1 libnet_build_ospfv2_lsr@Base 1.1.2.1 libnet_build_ospfv2_lsu@Base 1.1.2.1 libnet_build_rip@Base 1.1.2.1 libnet_build_rpc_call@Base 1.1.2.1 libnet_build_sebek@Base 1.1.2.1 libnet_build_snmp@Base 1.1.2.1 libnet_build_stp_conf@Base 1.1.2.1 libnet_build_stp_tcn@Base 1.1.2.1 libnet_build_tcp@Base 1.1.2.1 libnet_build_tcp_options@Base 1.1.2.1 libnet_build_token_ring@Base 1.1.2.1 libnet_build_udp@Base 1.1.2.1 libnet_build_vrrp@Base 1.1.2.1 libnet_check_iface@Base 1.1.2.1 libnet_clear_packet@Base 1.1.2.1 libnet_close_link@Base 1.1.2.1 libnet_close_raw4@Base 1.1.2.1 libnet_close_raw6@Base 1.1.2.1 libnet_compute_crc@Base 1.1.2.1 libnet_cq_add@Base 1.1.2.1 libnet_cq_destroy@Base 1.1.2.1 libnet_cq_end_loop@Base 1.1.2.1 libnet_cq_find_by_label@Base 1.1.2.1 libnet_cq_getlabel@Base 1.1.2.1 libnet_cq_head@Base 1.1.2.1 libnet_cq_last@Base 1.1.2.1 libnet_cq_next@Base 1.1.2.1 libnet_cq_remove@Base 1.1.2.1 libnet_cq_remove_by_label@Base 1.1.2.1 libnet_cq_size@Base 1.1.2.1 libnet_destroy@Base 1.1.2.1 libnet_diag_dump_context@Base 1.1.2.1 libnet_diag_dump_hex@Base 1.1.2.1 libnet_diag_dump_pblock@Base 1.1.2.1 libnet_diag_dump_pblock_type@Base 1.1.2.1 libnet_do_checksum@Base 1.1.2.1 libnet_get_hwaddr@Base 1.1.2.1 libnet_get_ipaddr4@Base 1.1.2.1 libnet_get_ipaddr6@Base 1.1.2.1 libnet_get_prand@Base 1.1.2.1 libnet_getdevice@Base 1.1.2.1 libnet_geterror@Base 1.1.2.1 libnet_getfd@Base 1.1.2.1 libnet_getgre_length@Base 1.1.2.1 libnet_getpacket_size@Base 1.1.2.1 libnet_getpbuf@Base 1.1.2.1 libnet_getpbuf_size@Base 1.1.2.1 libnet_hex_aton@Base 1.1.2.1 libnet_ifaddrlist@Base 1.1.2.1 libnet_in6_is_error@Base 1.1.6 libnet_in_cksum@Base 1.1.2.1 libnet_inet_checksum@Base 1.1.5 libnet_init@Base 1.1.2.1 libnet_ip_check@Base 1.1.2.1 libnet_name2addr4@Base 1.1.2.1 libnet_name2addr6@Base 1.1.2.1 libnet_open_link@Base 1.1.2.1 libnet_open_raw4@Base 1.1.2.1 libnet_open_raw6@Base 1.1.2.1 libnet_pblock_append@Base 1.1.2.1 libnet_pblock_coalesce@Base 1.1.2.1 libnet_pblock_delete@Base 1.1.2.1 libnet_pblock_find@Base 1.1.2.1 libnet_pblock_insert_before@Base 1.1.2.1 libnet_pblock_new@Base 1.1.2.1 libnet_pblock_p2p@Base 1.1.2.1 libnet_pblock_probe@Base 1.1.2.1 libnet_pblock_record_ip_offset@Base 1.1.6 libnet_pblock_setflags@Base 1.1.2.1 libnet_pblock_swap@Base 1.1.2.1 libnet_pblock_update@Base 1.1.2.1 libnet_plist_chain_dump@Base 1.1.2.1 libnet_plist_chain_dump_string@Base 1.1.2.1 libnet_plist_chain_free@Base 1.1.2.1 libnet_plist_chain_new@Base 1.1.2.1 libnet_plist_chain_next_pair@Base 1.1.2.1 libnet_seed_prand@Base 1.1.2.1 libnet_select_device@Base 1.1.2.1 libnet_stats@Base 1.1.2.1 libnet_toggle_checksum@Base 1.1.2.1 libnet_version@Base 1.1.3 libnet_write@Base 1.1.2.1 libnet_write_link@Base 1.1.2.1 libnet_write_raw_ipv4@Base 1.1.2.1 libnet_write_raw_ipv6@Base 1.1.2.1