GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pcap4j/www/pcap4j_modules.md at v1 · kaitoy/pcap4j

Expand file tree

/

pcap4j_modules.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
38 lines (28 loc) · 2.18 KB
/

pcap4j_modules.md

Copy path

File metadata and controls

38 lines (28 loc) · 2.18 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

Pcap4j modules

Pcap4j consists of the following modules:

  • pcap4j-core: The core module which includes pcap API wrappers, packet classes, and so on.

    module name: org.pcap4j.core

  • pcap4j-packetfactory-static: The Static Packet Factory module.

    module name: org.pcap4j.packetfactory.statik

  • pcap4j-packetfactory-propertiesbased: The Properties-Based Packet Factory module.

    module name: org.pcap4j.packetfactory.propertiesbased

  • pcap4j-sample: The sample module.

    module name: org.pcap4j.sample

  • pcap4j-packettest: The module including test cases for packet classes. The tests are not run in this module. Instead, they are copied to pcap4j-packetfactory-static and pcap4j-packetfactory-propertiesbased and then run in the modules respectively.

    module name: org.pcap4j.packettest

  • pcap4j-distribution: The distribution module. This module is not built unless the maven profile distribution-assembly is activated. To build Pcap4J with it activated, for example, execute mvn -P distribution-assembly install.

  • pcap4j-test-coverage: The dummy module to measure test coverage of Pcap4J. This module is built when the maven profile test-coverage is activated. During a build, this module retrieves the source of pcap4j-core, pcap4j-packetfactory-static, and pcap4j-packettest to run tests included in pcap4j-packettest at one place, and then measure the test coverage of pcap4j-packettest with JaCoCo.

To run a Pcap4J application, pcap4j-core's artifact is always needed.

pcap4j-packetfactory-static and pcap4j-packetfactory-propertiesbased are Packet Factory modules. An artifact of either of them is needed for packet analysis. Without Packet Factory modules, Pcap4J always returns a UnknownPacket object when it captures a packet. Learn more about Packet Factory here.

The other modules' artifacts are not needed when you run a Pcap4J application.

You are visitor 01402605 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.