Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.13.1.2
Macros | Enumerations | Functions
openapi_ping.h File Reference

Go to the source code of this file.

Macros

#define OPEN_PING_ADDRESS_MAX_LEN   256
 
#define OPEN_PING_CALLBACK_STR_MAX_LEN   256
 
#define OPEN_PING_DEFAULT_PROBE_SIZE   0
 
#define OPEN_PING_OUT_INTF_STRING_SIZE   32
 
#define OPEN_PING_STRING_SIZE   2048
 

Enumerations

enum  OPEN_PING_ADDR_TYPE_t { OPEN_PING_ADDR_TYPE_IPV4 = 0, OPEN_PING_ADDR_TYPE_IPV6 = 1, OPEN_PING_ADDR_TYPE_NONE = 2 }
 
enum  OPEN_PING_SOURCE_INTF_TYPE_t { OPEN_PING_SOURCE_INTF_SERVICE_PORT = 0, OPEN_PING_SOURCE_INTF_NETWORK_PORT = 1 }
 
enum  OPEN_PING_SOURCE_TYPE_t {
  OPEN_PING_SOURCE_SERVICE_PORT = 0, OPEN_PING_SOURCE_NETWORK_PORT = 1, OPEN_PING_SOURCE_IP_PORT = 2, OPEN_PING_SOURCE_ADDRESS = 3,
  OPEN_PING_SOURCE_NONE = 4
}
 

Functions

open_error_t openapiPing (openapiClientHandle_t *client_handle, open_buffdesc *vrfName, OPEN_AF_t family, open_buffdesc *address, uint32_t pingCount, uint32_t pingInterval, uint32_t pingSize, OPEN_PING_SOURCE_TYPE_t srcType, uint32_t intIfNum, open_buffdesc *srcAddr, open_buffdesc *output)
 Ping host or IPv4/IPv6 Address with all parameters. More...
 
open_error_t openapiPingAddress (openapiClientHandle_t *client_handle, open_buffdesc *address, open_buffdesc *output)
 Ping host or IPv4/IPv6 Address. More...
 
open_error_t openapiPingAddressExplicit (openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t pingCount, uint32_t pingInterval, uint32_t pingSize, OPEN_PING_SOURCE_INTF_TYPE_t srcIntf, open_buffdesc *output)
 Ping host or IPv4/IPv6 Address with all parameters given at a time. More...
 
open_error_t openapiPingAddressWithCount (openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t pingCount, open_buffdesc *output)
 Ping host or IPv4/IPv6 Address with specific count. More...
 
open_error_t openapiPingAddressWithInterval (openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t pingInterval, open_buffdesc *output)
 Ping host or IPv4/IPv6 Address with specific interval. More...
 
open_error_t openapiPingAddressWithPDUSize (openapiClientHandle_t *client_handle, open_buffdesc *address, uint32_t pingSize, open_buffdesc *output)
 Ping host or IPv4/IPv6 Address with specific probe size. More...
 
open_error_t openapiPingAddressWithSourceInterface (openapiClientHandle_t *client_handle, open_buffdesc *address, OPEN_PING_SOURCE_INTF_TYPE_t srcIntf, open_buffdesc *output)
 Ping host or IPv4/IPv6 Address with source interface. More...
 
open_error_t openapiPingWithSource (openapiClientHandle_t *client_handle, open_buffdesc *vrfName, OPEN_AF_t family, open_buffdesc *address, OPEN_PING_SOURCE_TYPE_t srcType, uint32_t srcIntf, open_buffdesc *srcAddr, open_buffdesc *output)
 Ping host or IPv4/IPv6 Address with given source. More...