|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.11.1.2
|
Functions | |
| open_error_t | openapiRtrDiscAdvAddrGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, open_inet_addr_t *ipAddr) |
| Gets the advertisement address that is used as the destination ip address in the advertisement packet. More... | |
| open_error_t | openapiRtrDiscAdvAddrSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, open_inet_addr_t ipAddr) |
| Sets the advertisement address that is used as the destination ip address in the advertisement packet. More... | |
| open_error_t | openapiRtrDiscAdvertiseGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *flag) |
| Gets the router discovery mode on the interface. More... | |
| open_error_t | openapiRtrDiscAdvertiseSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t flag) |
| Sets the router discovery mode on the interface. More... | |
| open_error_t | openapiRtrDiscAdvLifetimeDefaultGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *defLifetime) |
| Gets the default value of lifetime field of router advertisement sent from the interface. More... | |
| open_error_t | openapiRtrDiscAdvLifetimeGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *time) |
| Gets the value of lifetime field of router advertisement sent from the interface. More... | |
| open_error_t | openapiRtrDiscAdvLifetimeRevert (openapiClientHandle_t *client_handle, uint32_t intIfNum) |
| Revert AdvertisementLifetime to its default value. More... | |
| open_error_t | openapiRtrDiscAdvLifetimeSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t time) |
| Sets the value of lifetime field of router advertisement sent from the interface. More... | |
| open_error_t | openapiRtrDiscMaxAdvIntervalGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *time) |
| Gets the maximum time allowed between sending router advertisements from the interface. More... | |
| open_error_t | openapiRtrDiscMaxAdvIntervalSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t time) |
| Sets the maximum time allowed between sending router advertisements from the interface. More... | |
| open_error_t | openapiRtrDiscMinAdvIntervalDefaultGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *defMinAdvInt) |
| Gets the default minimum advertisement interval. More... | |
| open_error_t | openapiRtrDiscMinAdvIntervalGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *time) |
| Gets the minimum time allowed between sending router advertisements from the interface. More... | |
| open_error_t | openapiRtrDiscMinAdvIntervalRevert (openapiClientHandle_t *client_handle, uint32_t intIfNum) |
| Revert MinAdvertisementInterval to its default value. More... | |
| open_error_t | openapiRtrDiscMinAdvIntervalSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t time) |
| Sets the minimum time allowed between sending router advertisements from the interface. More... | |
| open_error_t | openapiRtrDiscPreferenceLevelGet (openapiClientHandle_t *client_handle, uint32_t intIfNum, int32_t *integer) |
| Gets the preferability of the address as a default router address, relative to other router addresses on the same subnet. More... | |
| open_error_t | openapiRtrDiscPreferenceLevelSet (openapiClientHandle_t *client_handle, uint32_t intIfNum, int32_t integer) |
| Sets the preferability of the address as a default router address, relative to other router addresses on the same subnet. More... | |
| open_error_t openapiRtrDiscAdvAddrGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| open_inet_addr_t * | ipAddr | ||
| ) |
Gets the advertisement address that is used as the destination ip address in the advertisement packet.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | ipAddr | advertisement address |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscAdvAddrSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| open_inet_addr_t | ipAddr | ||
| ) |
Sets the advertisement address that is used as the destination ip address in the advertisement packet.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | ipAddr | advertisement address |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscAdvertiseGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_BOOL_t * | flag | ||
| ) |
Gets the router discovery mode on the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | flag | advertisement flag |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscAdvertiseSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| OPEN_BOOL_t | flag | ||
| ) |
Sets the router discovery mode on the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | flag | advertisement flag |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscAdvLifetimeDefaultGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | defLifetime | ||
| ) |
Gets the default value of lifetime field of router advertisement sent from the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | defLifetime | lifetime in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscAdvLifetimeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | time | ||
| ) |
Gets the value of lifetime field of router advertisement sent from the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | time | time in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscAdvLifetimeRevert | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum | ||
| ) |
Revert AdvertisementLifetime to its default value.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscAdvLifetimeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t | time | ||
| ) |
Sets the value of lifetime field of router advertisement sent from the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | time | time in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_ERROR | If lifetime is > max value |
| OPEN_E_FAIL | If lifetime is < max adv interval |
| OPEN_E_INTERNAL | On any other failure. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscMaxAdvIntervalGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | time | ||
| ) |
Gets the maximum time allowed between sending router advertisements from the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | time | time in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscMaxAdvIntervalSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t | time | ||
| ) |
Sets the maximum time allowed between sending router advertisements from the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | time | time in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_ERROR | If maximum advertisement interval given is out of range. |
| OPEN_E_FAIL | If given maximum advertisement interval is less than configured minimum advertisement interval. |
| OPEN_E_INTERNAL | On any other failure. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscMinAdvIntervalDefaultGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | defMinAdvInt | ||
| ) |
Gets the default minimum advertisement interval.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | defMinAdvInt | default minimum advertisement interval in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscMinAdvIntervalGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t * | time | ||
| ) |
Gets the minimum time allowed between sending router advertisements from the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | time | time in seconds (3 < t < MaxAdvertisementInterval) |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscMinAdvIntervalRevert | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum | ||
| ) |
Revert MinAdvertisementInterval to its default value.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscMinAdvIntervalSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| uint32_t | time | ||
| ) |
Sets the minimum time allowed between sending router advertisements from the interface.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | time | time in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_ERROR | If minimum advertisement interval given is out of range. |
| OPEN_E_FAIL | If given minimum advertisement interval is greater than configured maximum advertisement interval. |
| OPEN_E_INTERNAL | On any other failure. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscPreferenceLevelGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| int32_t * | integer | ||
| ) |
Gets the preferability of the address as a default router address, relative to other router addresses on the same subnet.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [out] | integer | preference level |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25
| open_error_t openapiRtrDiscPreferenceLevelSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | intIfNum, | ||
| int32_t | integer | ||
| ) |
Sets the preferability of the address as a default router address, relative to other router addresses on the same subnet.
| [in] | client_handle | client handle from registration API |
| [in] | intIfNum | internal interface number |
| [in] | integer | preference level |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
OpEN API Version: 1.25