in_addr Struct Reference

#include <libc/netinet/in.h>

struct in_addr
Public Attributes
u_long S_addr
union in_addr::@39S_un
struct in_addr::@39::@40S_un_b
struct in_addr::@39::@41S_un_w
u_char s_b1
u_char s_b2
u_char s_b3
u_char s_b4
u_short s_w1
u_short s_w2

Detailed Description

Internet address This definition contains obsolete fields for compatibility with SunOS 3.x and 4.2bsd. The presence of subnets renders divisions into fixed fields misleading at best. New code should use only the s_addr field.

Member Attribute Documentation

S_addr

u_long S_addr

S_un

union in_addr::@39S_un

S_un_b

struct in_addr::@39::@40S_un_b

S_un_w

struct in_addr::@39::@41S_un_w

s_b1

u_char s_b1

s_b2

u_char s_b2

s_b3

u_char s_b3

s_b4

u_char s_b4

s_w1

u_short s_w1

s_w2

u_short s_w2