Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
Functions
openapi_dhcp_snooping.h File Reference
#include "openapi_common.h"

Go to the source code of this file.

Functions

open_error_t openapiDhcpSnoopingAdminModeGet (openapiClientHandle_t *client_handle, OPEN_AF_t family, OPEN_CONTROL_t *adminMode)
 Gets the DHCP Snooping Admin mode. More...
 
open_error_t openapiDhcpSnoopingDbFileNameGet (openapiClientHandle_t *client_handle, OPEN_AF_t family, open_buffdesc *fileName)
 Get the remote DHCP snooping database file name. More...
 
open_error_t openapiDhcpSnoopingDbFileNameMaxLengthGet (openapiClientHandle_t *client_handle, uint32_t *len)
 Get the remote DHCP snooping database file name max length. More...
 
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. More...
 
open_error_t openapiDhcpSnoopingDbWriteDelayGet (openapiClientHandle_t *client_handle, OPEN_AF_t family, uint32_t *delay)
 Get the DHCP snooping database write delay. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
open_error_t openapiDhcpSnoopingVerifySourceMacGet (openapiClientHandle_t *client_handle, OPEN_AF_t family, OPEN_CONTROL_t *sourceMacVerify)
 Gets whether DHCP snooping verifies source MAC addresses. More...