openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/nsd_ptcp.c
static rsRetVal GetRemoteIP(nsd_t* pNsd, prop_t** ip)
{
    DEFiRet;
    nsd_ptcp_t* pThis = (nsd_ptcp_t*)pNsd;
    ISOBJ_TYPE_assert(pThis, nsd_ptcp);
    prop.AddRef(pThis->remoteIP);
    *ip = pThis->remoteIP;
    RETiRet;
}
/* get the remote host's IP address. Caller must Destruct the object.
 */
get the remote host's IP address. Caller must Destruct the object.
get the remote host ' s IP address . Caller must Destruct the object .
static rsRetVal GetRemoteIP(nsd_t* pNsd, prop_t** ip)
{
    DEFiRet;
    nsd_ptcp_t* pThis = (nsd_ptcp_t*)pNsd;
    ISOBJ_TYPE_assert(pThis, nsd_ptcp);
    prop.AddRef(pThis->remoteIP);
    *ip = pThis->remoteIP;
    RETiRet;
}
static rsRetVal GetRemoteIP ( nsd_t * pNsd , prop_t * * ip ) { DEFiRet ; nsd_ptcp_t * pThis = ( nsd_ptcp_t * ) pNsd ; ISOBJ_TYPE_assert ( pThis , nsd_ptcp ) ; prop . AddRef ( pThis -> remoteIP ) ; * ip = pThis -> remoteIP ; RETiRet ; }
get the remote host's IP address.
get the remote host ' s IP address .