Uses of Enum Class
org.jnetpcap.constant.SockAddrFamily
Package
Description
The Packet Capture library provides a high level interface to packet capture
systems.
Various libpcap related constants
-
Uses of SockAddrFamily in org.jnetpcap
Modifier and TypeMethodDescriptionSockAddr.familyConstant()
Returns the address family as an enumerated constant.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).boolean
SockAddr.isFamily
(SockAddrFamily family) Checks if this socket address belongs to the specified address family.ModifierConstructorDescriptionprotected
SockAddr
(MemorySegment mseg, SockAddrFamily familyConstant, OptionalInt totalLength) Instantiates a new sock addr. -
Uses of SockAddrFamily in org.jnetpcap.constant
Modifier and TypeMethodDescriptionstatic SockAddrFamily
Returns the enum constant of this class with the specified name.static SockAddrFamily[]
SockAddrFamily.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Optional
<SockAddrFamily> SockAddrFamily.lookup
(int family) Looks up a socket address family constant using a platform-specific numeric value.