PREV TOC HOME INDEX NEXT


7.1. IPADDR

The IPADDR structure is used to specify a local IP address. The data structure definition is as follows:

    typedef struct
    {
        unsigned char     ip_ver;
        union{
                unsigned int     ipv4;
                unsigned int     ipv6[4]
             }u_ipaddr;
    }IPADDR, *PIPADDR; 

Table 38 describes the meaning of each field in the IPCCLIB_START_DATA data structure.

Table 38. IPADDR Field Descriptions

Field

Description

ip_ver The version of the local IP address. Possible values are:
  • IPVER4
  • IPVER6
u_ipaddr A union that contains the actual address. The datatype is different depending on whether the address is an IPv4 or an IPv6 address. For more information on the byte order of IPv4 addresses, see RFC 791 and RFC 792.


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2003, Intel Corporation
All rights reserved
This page generated February, 2003