50 #ifndef OPENAPI_IPV4_DEVICE_TRACKING_H_INCLUDED
51 #define OPENAPI_IPV4_DEVICE_TRACKING_H_INCLUDED
59 typedef enum OPEN_IPV4DT_CLEAR_s
61 OPEN_IPV4DT_CLEAR_ALL,
62 OPEN_IPV4DT_CLEAR_HOST_IP,
63 OPEN_IPV4DT_CLEAR_HOST_MAC,
64 OPEN_IPV4DT_CLEAR_INTERFACE,
65 } OPEN_IPV4DT_CLEAR_t;
69 OPEN_IPV4DT_CLEAR_t clear;
71 unsigned char hostMacAddr[OPEN_MAC_ADDR_LEN];
78 OPEN_IPV4DT_GET_FIRST = 0,
82 } OPEN_IPV4DT_GET_TYPE_t;
86 OPEN_IPV4DT_GET_ALL = 0,
87 OPEN_IPV4DT_GET_ALL_ACTIVE,
88 OPEN_IPV4DT_GET_ALL_INACTIVE,
91 } OPEN_IPV4DT_GET_ALL_TYPE_t;
95 OPEN_IPV4DT_GET_TYPE_t getType;
97 OPEN_IPV4DT_GET_ALL_TYPE_t getAllType;
101 unsigned char hostMacAddr[OPEN_MAC_ADDR_LEN];
109 OPEN_IPV4DT_SOURCE_ARP = 0,
110 OPEN_IPV4DT_SOURCE_DHCP
112 } OPEN_IPV4DT_Source_t;
116 OPEN_IPV4DT_STATE_INACTIVE = 0,
117 OPEN_IPV4DT_STATE_ACTIVE
119 } OPEN_IPV4DT_State_t;
123 OPEN_IPV4DT_Source_t source;
124 OPEN_IPV4DT_State_t state;
126 unsigned char hostMacAddr[OPEN_MAC_ADDR_LEN];
129 uint32_t timeToInActive;
130 uint32_t timeSinceInActive;
136 uint32_t arpEntriesCount;
137 uint32_t dhcpEntriesCount;
138 uint32_t activeEntriesCount;
139 uint32_t inactiveEntriesCount;
140 uint32_t totalEntriesCount;
444 uint32_t intIfNum, uint32_t *nextIntIfNum);
open_error_t openapiIpv4dtIntfNextGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *nextIntIfNum)
Get the Next Valid Ipv4dt Interface.
open_error_t openapiIpv4dtProbeModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *enable)
Gets the Ipv4dt Probe mode.
open_error_t openapiIpv4dtProbeModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t enable)
Sets the Ipv4dt Probe mode.
open_error_t openapiIpv4dtProbeDelayGet(openapiClientHandle_t *client_handle, uint32_t *delay)
Gets the Ipv4dt Probe Delay.
open_error_t openapiIpv4dtClearEntries(openapiClientHandle_t *client_handle, OPEN_IPV4DT_CLEAR_REQUEST_t *ipv4dtClear)
Clears the Ipv4dt Entries.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiIpv4dtAdminModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *enable)
Gets the Ipv4dt Admin mode.
open_error_t openapiIpv4dtProbeAutoSourceSet(openapiClientHandle_t *client_handle, uint32_t *host, uint32_t *mask)
Sets the Ipv4dt Probe Auto-Source parameters.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiIpv4dtEntriesCountGet(openapiClientHandle_t *client_handle, OPEN_IPV4DT_ENTRIES_COUNT_t *ipv4dtEntriesCount)
Gets the Ipv4dt Entries Count.
open_error_t openapiIpv4dtProbeIntervalSet(openapiClientHandle_t *client_handle, uint32_t delay)
Sets the Ipv4dt Probe Interval.
open_error_t openapiIpv4dtIntfSupported(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t *isSupported)
Check the Ipv4dt Interface is supported or not.
open_error_t openapiIpv4dtProbeCountSet(openapiClientHandle_t *client_handle, uint32_t count)
Sets the Ipv4dt Probe Count.
open_error_t openapiIpv4dtAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t enable)
Sets the Ipv4dt Admin mode.
open_error_t openapiIpv4dtProbeAutoSourceGet(openapiClientHandle_t *client_handle, uint32_t *host, uint32_t *mask)
Gets the Ipv4dt Probe Auto-Source parameters.
open_error_t openapiIpv4dtIntfMaxGet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t *intfMax)
Gets the Ipv4dt Interface Maximum limit.
open_error_t openapiIpv4dtIntfMaxSet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t intfMax)
Sets the Ipv4dt Interface Maximum limit.
open_error_t openapiIpv4dtProbeIntervalGet(openapiClientHandle_t *client_handle, uint32_t *delay)
Gets the Ipv4dt Probe Interval.
open_error_t openapiIpv4dtTableGetNext(openapiClientHandle_t *client_handle, OPEN_IPV4DT_SHOW_REQUEST_t *ipv4dtShow, OPEN_IPV4DT_ENTRY_t *entry)
Gets the Ipv4dt Entries.
open_error_t openapiIpv4dtProbeCountGet(openapiClientHandle_t *client_handle, uint32_t *count)
Gets the Ipv4dt Probe Count.
open_error_t openapiIpv4dtProbeDelaySet(openapiClientHandle_t *client_handle, uint32_t delay)
Sets the Ipv4dt Probe Delay.