FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
abf.api File Reference

Go to the source code of this file.

Data Structures

struct  vl_api_abf_plugin_get_version_t
 Get the plugin version. More...
 
struct  vl_api_abf_plugin_get_version_reply_t
 Reply to get the plugin version. More...
 
struct  vl_api_abf_policy_add_del_t
 A description of an ABF policy. More...
 
struct  vl_api_abf_policy_details_t
 Policy description returned in the dump. More...
 
struct  vl_api_abf_policy_dump_t
 Dump all ABF policies. More...
 
struct  vl_api_abf_itf_attach_add_del_t
 Add or delete a policy attachment to an interface. More...
 
struct  vl_api_abf_itf_attach_details_t
 Attachment details from a dump. More...
 
struct  vl_api_abf_itf_attach_dump_t
 Dump all the policy attachments. More...
 

Variables

option version = "1.0.0"
 
import vnet ip ip_types api
 
typedef abf_policy
 A description of an ABF policy. More...
 
u32 acl_index
 
u8 n_paths
 
vl_api_fib_path_t paths [n_paths]
 
typedef abf_itf_attach
 A description of a policy attachment to an interface. More...
 
vl_api_interface_index_t sw_if_index
 
u32 priority
 
bool is_ipv6
 

Detailed Description

This file defines the vpp control-plane API messages used to control the ABF plugin

Definition in file abf.api.

Variable Documentation

◆ abf_itf_attach

typedef abf_itf_attach
Initial value:
{
u32 policy_id

A description of a policy attachment to an interface.

Template Parameters
Thepolicy ID to attach
sw_if_indexThe interface to attach to
priorityThe priority of the attachment, w.r.t. to other attachments on this interface. lower value is 'better'
is_ipv6Does this attachment apply to IPv6 packets (or IPv4)

Definition at line 106 of file abf.api.

◆ abf_policy

typedef abf_policy
Initial value:
{
u32 policy_id

A description of an ABF policy.

Template Parameters
policy_idUser chosen Identifier for the policy
acl_indexThe ACL that the policy will match against
n_pathsNumber of paths
pathsThe set of forwarding paths that are being added or removed.

Definition at line 58 of file abf.api.

◆ acl_index

u32 acl_index

Definition at line 60 of file abf.api.

◆ api

import vnet interface_types api

Definition at line 23 of file abf.api.

◆ is_ipv6

bool is_ipv6

Definition at line 110 of file abf.api.

◆ n_paths

u8 n_paths

Definition at line 61 of file abf.api.

◆ paths

vl_api_fib_path_t paths[n_paths]

Definition at line 62 of file abf.api.

◆ priority

u32 priority

Definition at line 109 of file abf.api.

◆ sw_if_index

vl_api_interface_index_t sw_if_index

Definition at line 108 of file abf.api.

◆ version

option version = "1.0.0"

Definition at line 22 of file abf.api.

u32
unsigned int u32
Definition: types.h:88