in_addr Structure

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
in_addr Structure
C
struct in_addr {
  union {
    struct {
      BYTE s_b1, s_b2, s_b3, s_b4;
    } S_un_b;
    struct {
      WORD s_w1, s_w2;
    } S_un_w;
    DWORD S_addr;
  } S_un;
};
Description

in_addr structure

Members
Members 
Description 
union {
struct {
BYTE s_b1, s_b2, s_b3, s_b4;
} S_un_b;
struct {
WORD s_w1, s_w2;
} S_un_w;
DWORD S_addr;
} S_un; 
union of IP address 
struct {
BYTE s_b1, s_b2, s_b3, s_b4;
} S_un_b; 
IP address in Byte 
struct {
WORD s_w1, s_w2;
} S_un_w; 
IP address in Word 
DWORD S_addr; 
IP address 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.