Uses of Enum Class
org.jnetpcap.constant.SockAddrFamily
Packages that use 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
Methods in org.jnetpcap that return types with arguments of type SockAddrFamilyModifier and TypeMethodDescriptionSockAddr.familyConstant()
Returns the address family as an enumerated constant.Methods in org.jnetpcap with parameters of type SockAddrFamilyModifier 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.Constructors in org.jnetpcap with parameters of type SockAddrFamilyModifierConstructorDescriptionprotected
SockAddr
(MemorySegment mseg, SockAddrFamily familyConstant, OptionalInt totalLength) Instantiates a new sock addr. -
Uses of SockAddrFamily in org.jnetpcap.constant
Methods in org.jnetpcap.constant that return SockAddrFamilyModifier 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.Methods in org.jnetpcap.constant that return types with arguments of type SockAddrFamilyModifier and TypeMethodDescriptionstatic Optional
<SockAddrFamily> SockAddrFamily.lookup
(int family) Looks up a socket address family constant using a platform-specific numeric value.