MIB_UDPROW_OWNER_PID PortCache::GetUdpPortPidEx(int port) { if (_mapUdpPortTableEx.find(port) != _mapUdpPortTableEx.end()) { return _mapUdpPortTableEx[port]; } else { // Rebuild Cache RebuildUdpTable(); // Return return _mapUdpPortTableEx[port]; } }
int PortCache::GetUdpPortPid(int port) { if( _udpPortTable[port] != 0 ) { return _udpPortTable[port]; } else { // Rebuild Cache RebuildUdpTable(); // Return return _udpPortTable[port]; } }