Constants and structures defined by the internet system.
Defines | |
#define | _NETINET_IN_H_ |
#define | IPPROTO_IP 0 |
Dummy for IP. | |
#define | IPPROTO_ICMP 1 |
Control message protocol. | |
#define | IPPROTO_TCP 6 |
Transmission control protocol. | |
#define | IPPROTO_UDP 17 |
User datagram protocol. | |
#define | IPPROTO_RAW 255 |
Raw IP packet. | |
#define | IPPROTO_MAX 256 |
Maximum protocol identifier. | |
#define | IPPORT_RESERVED 1024 |
Last reserved port number. | |
#define | IPPORT_USERRESERVED 5000 |
User reserved port number. | |
#define | INADDR_ANY (u_long)0x00000000 |
Any IP address. | |
#define | INADDR_BROADCAST (u_long)0xffffffff |
Broadcast IP address. | |
#define | IN_LOOPBACKNET 127 |
Official loopback net address. |