50 #ifndef OPENAPI_ROUTING_CONFIG_H_INCLUDED
51 #define OPENAPI_ROUTING_CONFIG_H_INCLUDED
69 #define OPEN_VRF_MIN_NAME_LEN 0
70 #define OPEN_VRF_MAX_NAME_LEN 64
71 #define OPEN_DEFAULT_VRF_NAME ""
101 open_error_t openapiRtrIntfIpAddrAdd(openapiClientHandle_t *client_handle,
386 uint32_t intf, uint32_t udpPort);
406 uint32_t intf, uint32_t udpPort);
428 OPEN_AF_t af, uint32_t intf, uint32_t MTU);
640 uint32_t vlanId, uint32_t *intf);
open_error_t openapiRtrVlanIntfCreate(openapiClientHandle_t *client_handle, uint32_t vlanId)
Create a VLAN Routing Interface.
open_error_t openapiIpICMPEchoReplyModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t echoReplyMode)
Enables/Disables IP ICMP Echo Reply mode.
open_error_t openapiRtrIntfRtrAdminModeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t routingMode)
Enables/Disables IP Routing mode (both v4 and v6) on a Router interface.
open_error_t openapiIpRedirectsModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t redirectsMode)
Enables/Disables generation of IP Redirects messages.
open_error_t openapiIpHelperAddressAdd(openapiClientHandle_t *client_handle, open_inet_addr_t ipAddr, uint32_t udpPort)
Adds IP Helper Address and UDP port number.
open_error_t openapiRtrIntfIpHelperDiscardDel(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t udpPort)
Deletes IP Helper Discard entry in an interface.
open_error_t openapiArpEntryNextGet(openapiClientHandle_t *client_handle, uint32_t *intf, open_inet_addr_t *ipAddr, open_buffdesc *mac_addr)
Get the next ARP entry.
open_error_t openapiArpEntryAdd(openapiClientHandle_t *client_handle, open_inet_addr_t ipAddr, open_buffdesc *mac_addr)
Add an ARP entry.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiRtrIntfIpHelperAddressAdd(openapiClientHandle_t *client_handle, uint32_t intf, open_inet_addr_t ipAddr, uint32_t udpPort)
Adds IP Helper Address and UDP port number on an interface.
open_error_t openapiRtrIntfMTUSet(openapiClientHandle_t *client_handle, OPEN_AF_t af, uint32_t intf, uint32_t MTU)
Configures Router Interface MTU.
open_error_t openapiRtrIntfIpHelperDiscardAdd(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t udpPort)
Adds IP Helper Discard entry in an interface.
open_error_t openapiIpRouteAdd(openapiClientHandle_t *client_handle, OPEN_AF_t af, open_inet_pfx_t *ipAddr, open_inet_addr_t *nextHop, uint32_t rtPref, uint32_t intf, OPEN_MPLS_LABELS_t *mpls)
Add an IP Route for a given address family.
OPEN_AF_t
OPEN uses these enumerators to indicate address family, IPV4 or IPV6.
open_error_t openapiIpHelperModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t ipHelperMode)
Enables/Disables IP Helper mode.
open_error_t openapiRtrIntfIpProxyArpModeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t ipProxyArpMode)
Enables/Disables IP Proxy Arp mode on a Router Interface.
open_error_t openapiRtrAdminModeSet(openapiClientHandle_t *client_handle, OPEN_AF_t af, OPEN_CONTROL_t routingMode)
Enables/Disables IP Routing Admin mode.
open_error_t openapiRtrIntfIpNetDirBroadcastModeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t ipNetBroadcastMode)
Enables/Disables forwarding of Network-directed broadcast on a Router Interface.
OPEN_INTF_IP_ADDR_TYPE_t
Type of IP address.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
open_error_t openapiRtrVlanIntfIfNumGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *intf)
Get the interface number for a VLAN Routing Interface.
open_error_t openapiIpRouteDel(openapiClientHandle_t *client_handle, OPEN_AF_t af, open_inet_pfx_t *ipAddr, open_inet_addr_t *nextHop, uint32_t intf, OPEN_MPLS_LABELS_t *mpls)
Delete an IP Route for a given address family.
open_error_t openapiRtrIntfIpRedirectsModeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t redirectsMode)
Enables/Disables generation of IP Redirects messages on a Router interface.
open_error_t openapiIpHelperAddressDel(openapiClientHandle_t *client_handle, open_inet_addr_t ipAddr, uint32_t udpPort)
Deletes IP Helper Address and UDP port number.
open_error_t openapiRtrVlanIntfDelete(openapiClientHandle_t *client_handle, uint32_t vlanId)
Delete a VLAN Routing Interface.
open_error_t openapiRtrIntfIpDestUnreachableModeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t unreachableMode)
Enables/Disables generation of IP Destination Unreachable messages on a Router interface.
open_error_t openapiRtrIntfIpHelperAddressDel(openapiClientHandle_t *client_handle, uint32_t intf, open_inet_addr_t ipAddr, uint32_t udpPort)
Deletes IP Helper Address and UDP port number on an interface.
open_error_t openapiRtrIntfIpAddrDel(openapiClientHandle_t *client_handle, OPEN_AF_t af, uint32_t intf, OPEN_INTF_IP_ADDR_TYPE_t addrType, open_inet_pfx_t *ipAddr, OPEN_CONTROL_t extArg)
Delete an IP address on a given router interface for a given address family.
open_error_t openapiArpEntryDel(openapiClientHandle_t *client_handle, open_inet_addr_t ipAddr)
Delete an ARP entry.