op_get_packet_destination()
Note: Requires Shared Code functionality
Abstract
Returns the stream for sending a packet to a given destination protocol or transmitter.
Syntax
op_get_packet_destination (destination)
| Argument | Type | Description |
|---|---|---|
destination |
const char * |
Module name, protocol name, or “TRANSMITTER” |
Return Type
int
Stream ID, or -1 if shared code is not licensed.
Header
shared_code_support.h
Details
This function determines the stream (next hop) for sending a packet to a specified module, protocol, or transmitter by the shortest route.