Poster of Linux kernelThe best gift for a Linux geek
YIPUnion

YIPUnion

Section: Y Version 2 (3) Updated: Release 14
Local index Up
 

NAME

YIPUnion - IP address structures  

STRUCTURES

typedef union {


        u_int32_t whole;

        u_int8_t charaddr[4];

} YIPUnion;

To specify the address 127.0.0.1, use:


        YIPUnion ip;


        ip.charaddr[0] = 127;

        ip.charaddr[1] = 0;

        ip.charaddr[2] = 0;

        ip.charaddr[3] = 1;  

SEE ALSO

YAddHost(3) YRemoveHost(3)


 

Index

NAME
STRUCTURES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:59:21 GMT, April 16, 2011