Apocrypha

libnet

Library for commonly used low-level network functions

Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets. It provides a portable and 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 layer 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 (Traceroute and ping were easily rewritten using libnet and libpcap).

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 1.3-r1 1 13 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaarmhppaloongm68kmipsppcs390sparcx64-macos Committed
1.3-r1 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing loong testing m68k testing mips testing ppc stable s390 testing sparc testing x64-macos testing view · download · history ↗

Use flags of 1.3-r1

  • man Build and install man pages
  • static-libs Build static versions of dynamic libraries as well
  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)