int oid_to_ip ( int count, /* length of ip address components */ OIDC_T * object_id, /* pointer to ip address components */ UINT_32_T * addr /* pointer to ip address */ );
This routine converts an IP address encoded in the instance section of an object identifier to an IP address. The parameter count contains the number of octets that corresponds to the IP address in the object identifier. This is usually 4, but may be less, in which case this routine fills the rest of the IP-address portion with zeroes. The routine puts the IP address in addr.