public class NetinetIn extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetinetIn.in_addr |
static interface |
NetinetIn.in6_addr |
static interface |
NetinetIn.sockaddr_in |
static interface |
NetinetIn.sockaddr_in6 |
| Modifier and Type | Method and Description |
|---|---|
static int |
BIG_ENDIAN() |
static int |
BYTE_ORDER() |
static int |
extractByte(int value,
int whichByte)
Extract a byte from an int.
|
static int |
htonl(int hostlong)
Host to Network Long: Converts a host-byte-order int to a network-byte-order int.
|
static int |
htons(int hostshort)
Host to Network Short: Converts a host-byte-order short to a network-byte-order short.
|
static int |
INADDR_ANY() |
static int |
insertByte(int value,
int whichByte)
Insert a byte into an int.
|
static int |
int_to_uint16_t(int value) |
static int |
IP_MULTICAST_ALL()
From linux/in.h, which exists only on Linux.
|
static int |
IP_MULTICAST_IF() |
static int |
IP_MULTICAST_LOOP() |
static int |
IP_MULTICAST_TTL() |
static int |
IP_TOS() |
static int |
IPPROTO_IP() |
static int |
IPPROTO_IPV6() |
static int |
IPPROTO_TCP() |
static int |
IPV6_MULTICAST_HOPS() |
static int |
IPV6_MULTICAST_IF() |
static int |
IPV6_MULTICAST_LOOP() |
static int |
IPV6_TCLASS() |
static int |
IPV6_V6ONLY()
From netinet6/in6.h, which can not be included directly.
|
static int |
LITTLE_ENDIAN() |
static int |
ntohl(int netlong) |
static int |
ntohs(int hostshort)
Host to Network Short: Converts a host-byte-order short to a network-byte-order short.
|
static int |
swap_uint16_t(int value) |
static int |
swap_uint32_t(int value) |
public static int IPV6_V6ONLY()
public static int INADDR_ANY()
public static int IPPROTO_IP()
public static int IPPROTO_IPV6()
public static int IPPROTO_TCP()
public static int IP_TOS()
public static int IP_MULTICAST_IF()
public static int IPV6_MULTICAST_IF()
public static int IP_MULTICAST_LOOP()
public static int IPV6_MULTICAST_LOOP()
public static int IPV6_MULTICAST_HOPS()
public static int IPV6_TCLASS()
public static int IP_MULTICAST_ALL()
public static int IP_MULTICAST_TTL()
public static int LITTLE_ENDIAN()
public static int BIG_ENDIAN()
public static int BYTE_ORDER()
public static int htons(int hostshort)
public static int ntohs(int hostshort)
public static int htonl(int hostlong)
public static int ntohl(int netlong)
public static int swap_uint16_t(int value)
public static int int_to_uint16_t(int value)
public static int swap_uint32_t(int value)
public static int extractByte(int value,
int whichByte)
public static int insertByte(int value,
int whichByte)