Uses of Class
org.jnetpcap.SockAddr
Package
Description
The Packet Capture library provides a high level interface to packet capture
systems.
-
Uses of SockAddr in org.jnetpcap
Modifier and TypeClassDescriptionstatic class
PcapIf.PcapAddr<T extends SockAddr>
The struct pcap_addr structure containing network interfaces/devices addresses.Modifier and TypeClassDescriptionstatic final class
Represents an IPv6 socket address (sockaddr_in6 structure).static final class
Represents an IPv4 socket address (sockaddr_in structure).static final class
The structure ofsockaddr_ipx
, used for AF_IPX sockets.static final class
The structure ofsockaddr_irda
, used with AF_IRDA sockets on windows (winsock2.h) to access link-layer information.static final class
The structure ofsockaddr_dl
, used with AF_LINK sockets on macOS to access link-layer information.static final class
The structure ofsockaddr_ll
, used with AF_PACKET sockets for raw packet access on Linux.Modifier and TypeMethodDescription<T extends SockAddr>
Optional<PcapIf.PcapAddr<T>> PcapIf.findAddressOfType
(Class<T> familyClassType) Searches for the first network address of a specific type.Modifier and TypeMethodDescriptionOptional
<PcapIf.PcapAddr<? extends SockAddr>> PcapIf.findAddressOfFamily
(SockAddrFamily family) Searches for a network address of a specific address family (e.g., AF_INET, AF_INET6).