|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.12.0.1
|
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... | |
| Enumerator | |
|---|---|
| OPEN_PING_ADDR_TYPE_IPV4 |
Ping IPv4 Address Type. |
| OPEN_PING_ADDR_TYPE_IPV6 |
Ping Ipv6 Address Type. |
| OPEN_PING_ADDR_TYPE_NONE |
Ping Unspecified Address Type. |
Definition at line 49 of file openapi_ping.h.
Definition at line 56 of file openapi_ping.h.
Definition at line 62 of file openapi_ping.h.
| 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.
| [in] | client_handle | Client handle from registration API |
| [in] | vrfName | VRF name |
| [in] | family | Address family |
| [in] | address | host or IPv4/IPv6 Address |
| [in] | pingCount | number of times to ping |
| [in] | pingInterval | interval between probes in seconds |
| [in] | pingSize | ping probe PDU size |
| [in] | srcType | network port/service port/ip port/address |
| [in] | intIfNum | internal interface number incase of ip port |
| [in] | srcAddr | source address incase of source type is address |
| [out] | output | ping output |
| OPEN_E_NONE | if ping to host or IPv4/IPv6 address is successful. |
| OPEN_E_FAIL | if failed to ping host or IPv4/IPv6 address. |
| OPEN_E_PARAM | if invalid parameter is passed. |
| OPEN_E_UNAVAIL | if service port/network port/ip port/address is not supported for source type. |
OpEN API Version: 1.26
| open_error_t openapiPingAddress | ( | openapiClientHandle_t * | client_handle, |
| open_buffdesc * | address, | ||
| open_buffdesc * | output | ||
| ) |
Ping host or IPv4/IPv6 Address.
| [in] | client_handle | Client handle from registration API |
| [in] | address | host or IPv4/IPv6 Address |
| [out] | output | ping output |
| OPEN_E_NONE | if ping to host or IPv4/IPv6 address is successful. |
| OPEN_E_FAIL | if failed to ping host or IPv4/IPv6 address. |
| OPEN_E_PARAM | if invalid parameter is passed. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | Client handle from registration API |
| [in] | address | host or IPv4/IPv6 Address |
| [in] | pingCount | number of times to ping |
| [in] | pingInterval | interval between probes in seconds |
| [in] | pingSize | ping probe PDU size |
| [in] | srcIntf | network port/service port |
| [out] | output | ping output |
| OPEN_E_NONE | if ping to host or IPv4/IPv6 address is successful. |
| OPEN_E_FAIL | if failed to ping host or IPv4/IPv6 address. |
| OPEN_E_PARAM | if invalid parameter is passed. |
| OPEN_E_UNAVAIL | if service port/network port is not supported for source interface |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | Client handle from registration API |
| [in] | address | host or IPv4/IPv6 Address |
| [in] | pingCount | number of times to ping |
| [out] | output | ping output |
| OPEN_E_NONE | if ping to host or IPv4/IPv6 address is successful. |
| OPEN_E_FAIL | if failed to ping host or IPv4/IPv6 address. |
| OPEN_E_PARAM | if invalid parameter is passed. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | Client handle from registration API |
| [in] | address | host or IPv4/IPv6 Address |
| [in] | pingInterval | interval between probes in seconds |
| [out] | output | ping output |
| OPEN_E_NONE | if ping to host or IPv4/IPv6 address is successful. |
| OPEN_E_FAIL | if failed to ping host or IPv4/IPv6 address. |
| OPEN_E_PARAM | if invalid parameter is passed. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | Client handle from registration API |
| [in] | address | host or IPv4/IPv6 Address |
| [in] | pingSize | ping probe PDU size |
| [out] | output | ping output |
| OPEN_E_NONE | if ping to host or IPv4/IPv6 address is successful. |
| OPEN_E_FAIL | if failed to ping host or IPv4/IPv6 address. |
| OPEN_E_PARAM | if invalid parameter is passed. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | Client handle from registration API |
| [in] | address | host or IPv4/IPv6 Address |
| [in] | srcIntf | network port/service port |
| [out] | output | ping output |
| OPEN_E_NONE | if ping to host or IPv4/IPv6 address is successful. |
| OPEN_E_FAIL | if failed to ping host or IPv4/IPv6 address. |
| OPEN_E_PARAM | if invalid parameter is passed. |
| OPEN_E_UNAVAIL | if service port/network port is not supported for source interface |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | Client handle from registration API |
| [in] | vrfName | VRF name |
| [in] | family | Address family |
| [in] | address | host or IPv4/IPv6 Address |
| [in] | srcType | network port/service port/ip port/address |
| [in] | srcIntf | internal interface number incase of ip port |
| [in] | srcAddr | source address incase of source type is address |
| [out] | output | ping output |
| OPEN_E_NONE | if ping to host or IPv4/IPv6 address is successful. |
| OPEN_E_FAIL | if failed to ping host or IPv4/IPv6 address. |
| OPEN_E_PARAM | if invalid parameter is passed. |
| OPEN_E_UNAVAIL | if service port/network port/ip port/address is not supported for source type. |
OpEN API Version: 1.26