wut  v1.7.0
Wii U Toolchain
Data Structures | Macros | Typedefs
in.h File Reference
#include <stdint.h>
#include <sys/socket.h>
Include dependency graph for in.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  in_addr
 
struct  sockaddr_in
 
struct  ip_mreq
 

Macros

#define INADDR_ANY   0x00000000
 
#define INADDR_LOOPBACK   0x7F000001
 
#define INADDR_BROADCAST   0xFFFFFFFF
 
#define INADDR_NONE   0xFFFFFFFF
 
#define INET_ADDRSTRLEN   16
 
#define IPPROTO_IP   0
 
#define IPPROTO_TCP   6
 
#define IPPROTO_UDP   17
 
#define IP_TOS   3
 
#define IP_TTL   4
 
#define IP_MULTICAST_IF   9
 
#define IP_MULTICAST_TTL   10
 
#define IP_MULTICAST_LOOP   11
 
#define IP_ADD_MEMBERSHIP   12
 
#define IP_DROP_MEMBERSHIP   13
 
#define IP_UNKNOWN   14
 

Typedefs

typedef uint16_t in_port_t
 
typedef uint32_t in_addr_t
 

Data Structure Documentation

◆ in_addr

struct in_addr

Definition at line 28 of file in.h.

Data Fields
in_addr_t s_addr

◆ sockaddr_in

struct sockaddr_in

Definition at line 33 of file in.h.

Data Fields
sa_family_t sin_family
in_port_t sin_port
struct in_addr sin_addr
unsigned char sin_zero[8]

◆ ip_mreq

struct ip_mreq

Definition at line 41 of file in.h.

Data Fields
struct in_addr imr_multiaddr
struct in_addr imr_interface

Macro Definition Documentation

◆ INADDR_ANY

#define INADDR_ANY   0x00000000

Definition at line 5 of file in.h.

◆ INADDR_LOOPBACK

#define INADDR_LOOPBACK   0x7F000001

Definition at line 6 of file in.h.

◆ INADDR_BROADCAST

#define INADDR_BROADCAST   0xFFFFFFFF

Definition at line 7 of file in.h.

◆ INADDR_NONE

#define INADDR_NONE   0xFFFFFFFF

Definition at line 8 of file in.h.

◆ INET_ADDRSTRLEN

#define INET_ADDRSTRLEN   16

Definition at line 10 of file in.h.

◆ IPPROTO_IP

#define IPPROTO_IP   0

Definition at line 12 of file in.h.

◆ IPPROTO_TCP

#define IPPROTO_TCP   6

Definition at line 13 of file in.h.

◆ IPPROTO_UDP

#define IPPROTO_UDP   17

Definition at line 14 of file in.h.

◆ IP_TOS

#define IP_TOS   3

Definition at line 16 of file in.h.

◆ IP_TTL

#define IP_TTL   4

Definition at line 17 of file in.h.

◆ IP_MULTICAST_IF

#define IP_MULTICAST_IF   9

Definition at line 18 of file in.h.

◆ IP_MULTICAST_TTL

#define IP_MULTICAST_TTL   10

Definition at line 19 of file in.h.

◆ IP_MULTICAST_LOOP

#define IP_MULTICAST_LOOP   11

Definition at line 20 of file in.h.

◆ IP_ADD_MEMBERSHIP

#define IP_ADD_MEMBERSHIP   12

Definition at line 21 of file in.h.

◆ IP_DROP_MEMBERSHIP

#define IP_DROP_MEMBERSHIP   13

Definition at line 22 of file in.h.

◆ IP_UNKNOWN

#define IP_UNKNOWN   14

Definition at line 23 of file in.h.

Typedef Documentation

◆ in_port_t

typedef uint16_t in_port_t

Definition at line 25 of file in.h.

◆ in_addr_t

typedef uint32_t in_addr_t

Definition at line 26 of file in.h.