![]() |
RDK Documentation (Open Sourced RDK Components)
|
Describe the details about TR-069 Device IP Trace route APIs specifications.
Functions | |
int | get_Device_IP_Diagnostics_TraceRoute_DiagnosticsState (const char *name, ParameterType type, ParameterValue *value) |
This function indicates availability of diagnostic data. Enumeration of: More... | |
int | get_Device_IP_Diagnostics_TraceRoute_Interface (const char *name, ParameterType type, ParameterValue *value) |
This function provides the IP-layer interface over which the test is to be performed. This identifies the source IP address to use when performing the test. Example: Device.IP.Interface.1. More... | |
int | get_Device_IP_Diagnostics_TraceRoute_Host (const char *name, ParameterType type, ParameterValue *value) |
This function provides the host name or address of the host to which to find a route. More... | |
int | get_Device_IP_Diagnostics_TraceRoute_NumberOfTries (const char *name, ParameterType type, ParameterValue *value) |
This function provides the number of tries per hop. This is set prior to running Diagnostic. More... | |
int | get_Device_IP_Diagnostics_TraceRoute_Timeout (const char *name, ParameterType type, ParameterValue *value) |
This function provides the timeout in milliseconds for each hop of the trace route test. More... | |
int | get_Device_IP_Diagnostics_TraceRoute_DataBlockSize (const char *name, ParameterType type, ParameterValue *value) |
This function provides the size in bytes of the data block to be sent for each trace route. More... | |
int | get_Device_IP_Diagnostics_TraceRoute_DSCP (const char *name, ParameterType type, ParameterValue *value) |
This function provides the Differentiated Services Code Point (DSCP) to be used for the test packets. More... | |
int | get_Device_IP_Diagnostics_TraceRoute_MaxHopCount (const char *name, ParameterType type, ParameterValue *value) |
This function provides the maximum number of hop used in outgoing probe packets (max TTL). More... | |
int | get_Device_IP_Diagnostics_TraceRoute_ResponseTime (const char *name, ParameterType type, ParameterValue *value) |
This function provides the result parameter indicating the response time in milliseconds of the most recent trace route test. More... | |
int | get_Device_IP_Diagnostics_TraceRoute_RouteHopsNumberOfEntries (const char *name, ParameterType type, ParameterValue *value) |
This function provides the number of entries in the RouteHops table. More... | |
int | set_Device_IP_Diagnostics_TraceRoute_DiagnosticsState (const char *name, ParameterType type, ParameterValue *value) |
This function sets the 'DiagnosticsState' parameter which indicates the availability of diagnostic data. This is an enumeration of: More... | |
int | set_Device_IP_Diagnostics_TraceRoute_Interface (const char *name, ParameterType type, ParameterValue *value) |
This function sets the IP-layer interface over which the test is to be performed. This identifies the source IP address to use when performing the test. Example: Device.IP.Interface.1. More... | |
int | set_Device_IP_Diagnostics_TraceRoute_Host (const char *name, ParameterType type, ParameterValue *value) |
This function sets the host name or address of the host to which to find a route. More... | |
int | set_Device_IP_Diagnostics_TraceRoute_NumberOfTries (const char *name, ParameterType type, ParameterValue *value) |
This function sets the number of tries per hop. This is set prior to running Diagnostic. More... | |
int | set_Device_IP_Diagnostics_TraceRoute_Timeout (const char *name, ParameterType type, ParameterValue *value) |
This function sets the timeout in milliseconds for each hop of the trace route test. More... | |
int | set_Device_IP_Diagnostics_TraceRoute_DataBlockSize (const char *name, ParameterType type, ParameterValue *value) |
This function sets the size in bytes of the data block to be sent for each trace route. More... | |
int | set_Device_IP_Diagnostics_TraceRoute_DSCP (const char *name, ParameterType type, ParameterValue *value) |
This function sets the Differentiated Services Code Point (DSCP) to be used for the test packets. More... | |
int | set_Device_IP_Diagnostics_TraceRoute_MaxHopCount (const char *name, ParameterType type, ParameterValue *value) |
This function sets the maximum number of hop used in outgoing probe packets (max TTL). More... | |
int get_Device_IP_Diagnostics_TraceRoute_DiagnosticsState | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function indicates availability of diagnostic data. Enumeration of:
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the availability of diagnostic data. |
-1 | If Not able to get availability of diagnostic data. |
-2 | If Not handle getting the availability of diagnostic data. |
int get_Device_IP_Diagnostics_TraceRoute_Interface | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the IP-layer interface over which the test is to be performed. This identifies the source IP address to use when performing the test. Example: Device.IP.Interface.1.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the source IP address of the interface. |
-1 | If Not able to get the source IP address of the interface. |
-2 | If Not handle getting the source IP address of the interface. |
int get_Device_IP_Diagnostics_TraceRoute_Host | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the host name or address of the host to which to find a route.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the host name or address of the host interface. |
-1 | If Not able to get the host name or address of the host interface. |
-2 | If Not handle getting the host name or address of the host interface. |
int get_Device_IP_Diagnostics_TraceRoute_NumberOfTries | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the number of tries per hop. This is set prior to running Diagnostic.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the number of tries per hop. |
-1 | If Not able to get the number of tries per hop. |
-2 | If Not handle getting the number of tries per hop. |
int get_Device_IP_Diagnostics_TraceRoute_Timeout | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the timeout in milliseconds for each hop of the trace route test.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the timeout of each hop. |
-1 | If Not able to get the timeout of each hop. |
-2 | If Not handle getting the timeout of each hop. |
int get_Device_IP_Diagnostics_TraceRoute_DataBlockSize | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the size in bytes of the data block to be sent for each trace route.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the trace route message size. |
-1 | If Not able to get the trace route message size. |
-2 | If Not handle getting the trace route message size. |
int get_Device_IP_Diagnostics_TraceRoute_DSCP | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the Differentiated Services Code Point (DSCP) to be used for the test packets.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the Differentiated Services Code Point (DSCP). |
-1 | If Not able to get the Differentiated Services Code Point (DSCP). |
-2 | If Not handle getting the Differentiated Services Code Point (DSCP). |
int get_Device_IP_Diagnostics_TraceRoute_MaxHopCount | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the maximum number of hop used in outgoing probe packets (max TTL).
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the maximum number of hops count. |
-1 | If Not able to get the maximum number of hops count. |
-2 | If Not handle getting the maximum number of hops count. |
int get_Device_IP_Diagnostics_TraceRoute_ResponseTime | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the result parameter indicating the response time in milliseconds of the most recent trace route test.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the hop response time. |
-1 | If Not able to get the hop response time. |
-2 | If Not handle getting the hop response time. |
int get_Device_IP_Diagnostics_TraceRoute_RouteHopsNumberOfEntries | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function provides the number of entries in the RouteHops table.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully get the number of entries in the RouteHops table. |
-1 | If Not able to get the number of entries in the RouteHops table. |
-2 | If Not handle getting the number of entries in the RouteHops table. |
int set_Device_IP_Diagnostics_TraceRoute_DiagnosticsState | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function sets the 'DiagnosticsState' parameter which indicates the availability of diagnostic data. This is an enumeration of:
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully set the status of diagnostic data. |
-1 | If Not able to set the status of diagnostic data. |
-2 | If Not handle setting the status of diagnostic data. |
int set_Device_IP_Diagnostics_TraceRoute_Interface | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function sets the IP-layer interface over which the test is to be performed. This identifies the source IP address to use when performing the test. Example: Device.IP.Interface.1.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully set the IP-layer interface. |
-1 | If Not able to set the IP-layer interface. |
-2 | If Not handle setting the IP-layer interface. |
int set_Device_IP_Diagnostics_TraceRoute_Host | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function sets the host name or address of the host to which to find a route.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully set the host name or address of the host. |
-1 | If Not able to set the host name or address of the host. |
-2 | If Not handle setting the host name or address of the host. |
int set_Device_IP_Diagnostics_TraceRoute_NumberOfTries | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function sets the number of tries per hop. This is set prior to running Diagnostic.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully set the number of tries per hop. |
-1 | If Not able to set the number of tries per hop. |
-2 | If Not handle setting the number of tries per hop. |
int set_Device_IP_Diagnostics_TraceRoute_Timeout | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function sets the timeout in milliseconds for each hop of the trace route test.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully set the hop timeout. |
-1 | If Not able to set the hop timeout. |
-2 | If Not handle setting the hop timeout. |
int set_Device_IP_Diagnostics_TraceRoute_DataBlockSize | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function sets the size in bytes of the data block to be sent for each trace route.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully set the trace route message size. |
-1 | If Not able to set the trace route message size. |
-2 | If Not handle setting the trace route message size. |
int set_Device_IP_Diagnostics_TraceRoute_DSCP | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function sets the Differentiated Services Code Point (DSCP) to be used for the test packets.
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully set the DSCP to be used in test. |
-1 | If Not able to set the DSCP to be used in test. |
-2 | If Not handle setting the DSCP to be used in test. |
int set_Device_IP_Diagnostics_TraceRoute_MaxHopCount | ( | const char * | name, |
ParameterType | type, | ||
ParameterValue * | value | ||
) |
This function sets the maximum number of hop used in outgoing probe packets (max TTL).
[in] | const | char * Source IP address. |
[in] | ParameterType | Type of the valid interface. |
[in] | ParameterValue | Valid interface name or empty string. |
0 | If successfully set the maximum number of hops. |
-1 | If Not able to set the maximum number of hops. |
-2 | If Not handle setting the maximum number of hops. |