ip_to_rlist( )

NAME

ip_to_rlist( ) - convert an IP address to an array of OID components

SYNOPSIS

int ip_to_rlist 
    ( 
    UINT_32_T  ip_address,  /* ip address                   */ 
    OIDC_T *   object_id    /* pointer to object identifier */ 
    );

DESCRIPTION

This routine uses an IP address to fill an array of values (of type long) with the byte components of the IP address. The return value is the number of components filled, always 4.

RETURNS

4, always.

SEE ALSO

snmpAuxLib