in_addr Structure

C

struct in_addr {
union {
    struct {
    uint8_t s_b1, s_b2, s_b3, s_b4;
    } S_un_b;
    struct {
    uint16_t s_w1, s_w2;
    } S_un_w;
    uint32_t S_addr;
} S_un;
};

Members

MembersDescription
union S_unUnion of IP address.
struct S_un_bIP address in Byte.
struct S_un_wIP address in Word.
S_addrIP address.