40 #ifndef OPENAPI_DHCP_SNOOPING_H_INCLUDED
41 #define OPENAPI_DHCP_SNOOPING_H_INCLUDED
open_error_t openapiDhcpSnoopingIntfLoggedGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, uint32_t ifNum, OPEN_BOOL_t *logged)
Determines whether DHCP snooping logs invalid packets on an interface.
open_error_t openapiDhcpSnoopingDbFileNameGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, open_buffdesc *fileName)
Get the remote DHCP snooping database file name.
open_error_t openapiDhcpSnoopingDbIpAddressGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, open_inet_addr_t *addr)
Get the remote DHCP snooping database IPv4 Address.
open_error_t openapiDhcpSnoopingIntfTrustedGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, uint32_t ifNum, OPEN_BOOL_t *trusted)
Determines whether DHCP snooping considers an interface as trusted.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiDhcpSnoopingAdminModeGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, OPEN_CONTROL_t *adminMode)
Gets the DHCP Snooping Admin mode.
open_error_t openapiDhcpSnoopingPortEnabledGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, uint32_t ifNum, OPEN_CONTROL_t *enabled)
Determines whether DHCP snooping is enabled on a port.
OPEN_AF_t
OPEN uses these enumerators to indicate address family, IPV4 or IPV6.
open_error_t openapiDhcpSnoopingDbFileNameMaxLengthGet(openapiClientHandle_t *client_handle, uint32_t *len)
Get the remote DHCP snooping database file name max length.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
open_error_t openapiDhcpSnoopingDbWriteDelayGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, uint32_t *delay)
Get the DHCP snooping database write delay.
open_error_t openapiDhcpSnoopingEnabledVlanRangeNextGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, uint32_t *vlanStart, uint32_t *vlanEnd)
Given a VLAN ID, return the endpoints of the next range of VLANs enabled for DHCP snooping...
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiDhcpSnoopingVerifySourceMacGet(openapiClientHandle_t *client_handle, OPEN_AF_t family, OPEN_CONTROL_t *sourceMacVerify)
Gets whether DHCP snooping verifies source MAC addresses.