=pod =encoding utf8 =head1 NAME libnet - A C library for packet creation and injection =head1 SYNOPSIS B<#include Elibnet.hE> =head1 DESCRIPTION libnet is a packet assembly library that provides a portable interface for packet creation and injection. It is a high-level API that allows an application programmer to construct and inject network packets. libnet provides a simplified interface for low-level network packet shaping, handling and injection. libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. libnet features portable packet creation interfaces at the IP and link layer, as well as a host of supplementary and complementary 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 (L and L were easily rewritten using libnet and L. When building applications with libnet we recommend using L to detect the precense and required version of libnet. The L script is still bundled in the libnet distribution, but is considered to be deprecated in favor of L. Both can be used to get compiler and linker flags of the installed libnet library, as well as provide other useful information. For applications using GNU autotools, we recommend using the PKG_PROG_PKG_CONFIG and PKG_CHECK_MODULES m4 macros. B: If you are writing your application with libnet, include F, which will include any additional header for you, rather than including F, F or any of the others. =head1 BACKWARDS COMPATIBILITY Your old code (circa libnet B<1.0.x>) WILL NOT WORK with libnet> B=1.1.x>. See B for easy steps on porting your old code. =head1 SEE ALSO L, L, L, L =head1 AUTHORS The original author of libnet is Mike D. Schiffman. libnet has been maintained and extensively enhanced since 2009 by Sam Roberts. It is currently maintained by the Libnet Maintainers at GitHub: =head1 BUGS Suggestions, bug reports/fixes, and pull requests, see: =head1 COPYRIGHT libnet is licensed under the 3-Clause BSD License. =cut