NF_STATUS nf_srv_getDestinationAddress(PNF_ADDRESS srcAddress, PNF_ADDRESS dstAddress, char protocol, unsigned __int64 payloadHash)
NF_STATUS_SUCCESS on success, or other NF_STATUS error code on fail.
For TCP protocol it is necessary to specify the source address in srcAddress field, IPPROTO_TCP in protocol. The matching destination address will be returned in dstAddress.
For UDP protocol it is necessary to specify both source and destination addresses in srcAddress and dstAddress fields, IPPROTO_UDP in protocol. The matching destination address will be returned in dstAddress.
Header | nfsrvapi.h |
Library | nfsrvapi.lib |