40 #ifndef OPENAPI_TRACEROUTE_H_INCLUDED
41 #define OPENAPI_TRACEROUTE_H_INCLUDED
43 #define OPEN_TRACEROUTE_STRING_SIZE 1024
44 #define OPEN_TRACEROUTE_OUTPUT_STRING_SIZE 4096
45 #define OPEN_TRACEROUTE_ADDRESS_MAX_LEN 256
46 #define OPEN_TRACEROUTE_DEFAULT_PROBE_SIZE 0
47 #define OPEN_TRACEROUTE_DEFAULT_MAX_TTL 30
48 #define OPEN_TRACEROUTE_RESP_STR_MAX_LEN 256
49 #define OPEN_TRACEROUTE_NUM_PROBE_PACKETS 3
119 uint32_t tracerouteCount,
145 uint32_t tracerouteInterval,
174 uint32_t tracerouteInitTtl,
175 uint32_t tracerouteMaxTtl,
201 uint32_t tracerouteMaxFail,
227 uint32_t tracerouteSize,
253 uint32_t tracerouteUdpPort,
328 uint32_t tracerouteCount,
329 uint32_t tracerouteInterval,
330 uint32_t tracerouteInitTtl,
331 uint32_t tracerouteMaxTtl,
332 uint32_t tracerouteMaxFail,
333 uint32_t tracerouteSize,
334 uint32_t tracerouteUdpPort,
423 uint32_t tracerouteCount,
424 uint32_t tracerouteInterval,
425 uint32_t tracerouteInitTtl,
426 uint32_t tracerouteMaxTtl,
427 uint32_t tracerouteMaxFail,
428 uint32_t tracerouteSize,
429 uint32_t tracerouteUdpPort,
open_error_t openapiTracerouteAddressWithCount(openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t tracerouteCount, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with specific count.
open_error_t openapiTracerouteAddress(openapiClientHandle_t *client_handle, open_buffdesc *address, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address.
open_error_t openapiTracerouteAddressExplicit(openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t tracerouteCount, uint32_t tracerouteInterval, uint32_t tracerouteInitTtl, uint32_t tracerouteMaxTtl, uint32_t tracerouteMaxFail, uint32_t tracerouteSize, uint32_t tracerouteUdpPort, OPEN_TRACEROUTE_SOURCE_INTF_TYPE_t srcIntf, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with all parameters given at a time.
Traceroute IPv4 Address Type.
open_error_t
OPEN uses these enumerators to indicate the error codes.
Traceroute IP Address/Hostname/IPv6 Address with source interface as network port.
OPEN_TRACEROUTE_ADDR_TYPE_t
Traceroute IP Address/Hostname/IPv6 Address with source interface as service port.
open_error_t openapiTraceroute(openapiClientHandle_t *client_handle, open_buffdesc *vrfName, OPEN_AF_t family, open_buffdesc *address, uint32_t tracerouteCount, uint32_t tracerouteInterval, uint32_t tracerouteInitTtl, uint32_t tracerouteMaxTtl, uint32_t tracerouteMaxFail, uint32_t tracerouteSize, uint32_t tracerouteUdpPort, OPEN_TRACEROUTE_SOURCE_TYPE_t srcType, uint32_t srcIntf, open_buffdesc *srcAddr, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with all parameters.
open_error_t openapiTracerouteAddressWithMaxFail(openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t tracerouteMaxFail, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with specific max fail.
open_error_t openapiTracerouteAddressWithPDUSize(openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t tracerouteSize, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with specific PDU size.
Traceroute IP Address/Hostname/IPv6 Address with source interface as network port.
OPEN_AF_t
OPEN uses these enumerators to indicate address family, IPV4 or IPV6.
OPEN_TRACEROUTE_SOURCE_INTF_TYPE_t
Traceroute IP Address/Hostname/IPv6 Address with source interface as routing interface.
Traceroute IP Address/Hostname/IPv6 Address with source interface as service port.
Traceroute Ipv6 Address Type.
open_error_t openapiTracerouteAddressWithUdpPort(openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t tracerouteUdpPort, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with specific UDP port.
Traceroute IP Address/Hostname/IPv6 Address without any source.
Traceroute unspecified Address Type.
open_error_t openapiTracerouteWithSource(openapiClientHandle_t *client_handle, open_buffdesc *vrfName, OPEN_AF_t family, open_buffdesc *address, OPEN_TRACEROUTE_SOURCE_TYPE_t srcType, uint32_t srcIntf, open_buffdesc *srcAddr, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with specified source.
open_error_t openapiTracerouteAddressWithSourceInterface(openapiClientHandle_t *client_handle, open_buffdesc *address, OPEN_TRACEROUTE_SOURCE_INTF_TYPE_t srcIntf, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with specific source interface.
open_error_t openapiTracerouteAddressWithInterval(openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t tracerouteInterval, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with specific interval.
OPEN_TRACEROUTE_SOURCE_TYPE_t
open_error_t openapiTracerouteAddressWithTtl(openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t tracerouteInitTtl, uint32_t tracerouteMaxTtl, open_buffdesc *output)
Traceroute host or IPv4/IPv6 Address with specific init ttl and max ttl.
Traceroute IP Address/Hostname/IPv6 Address with source address.