FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
abf_itf_attach.h File Reference
+ Include dependency graph for abf_itf_attach.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  abf_itf_attach_t_
 Attachment data for an ABF policy to an interface. More...
 

Typedefs

typedef struct abf_itf_attach_t_ abf_itf_attach_t
 Attachment data for an ABF policy to an interface. More...
 
typedef int(* abf_itf_attach_walk_cb_t) (index_t aii, void *ctx0)
 

Functions

static abf_itf_attach_tabf_itf_attach_get (u32 index)
 
int abf_itf_attach (fib_protocol_t fproto, u32 policy_id, u32 priority, u32 sw_if_index)
 
int abf_itf_detach (fib_protocol_t fproto, u32 policy_id, u32 sw_if_index)
 
void abf_itf_attach_walk (abf_itf_attach_walk_cb_t cb, void *ctx)
 

Variables

abf_itf_attach_tabf_itf_attach_pool
 Pool of ABF interface attachment objects. More...
 

Typedef Documentation

◆ abf_itf_attach_t

Attachment data for an ABF policy to an interface.

◆ abf_itf_attach_walk_cb_t

typedef int(* abf_itf_attach_walk_cb_t) (index_t aii, void *ctx0)

Definition at line 92 of file abf_itf_attach.h.

Function Documentation

◆ abf_itf_attach()

int abf_itf_attach ( fib_protocol_t  fproto,
u32  policy_id,
u32  priority,
u32  sw_if_index 
)

Definition at line 166 of file abf_itf_attach.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ abf_itf_attach_get()

static abf_itf_attach_t* abf_itf_attach_get ( u32  index)
inlinestatic

Definition at line 81 of file abf_itf_attach.h.

+ Here is the caller graph for this function:

◆ abf_itf_attach_walk()

void abf_itf_attach_walk ( abf_itf_attach_walk_cb_t  cb,
void *  ctx 
)

Definition at line 470 of file abf_itf_attach.c.

+ Here is the caller graph for this function:

◆ abf_itf_detach()

int abf_itf_detach ( fib_protocol_t  fproto,
u32  policy_id,
u32  sw_if_index 
)

Definition at line 250 of file abf_itf_attach.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ abf_itf_attach_pool

abf_itf_attach_t* abf_itf_attach_pool

Pool of ABF interface attachment objects.

Definition at line 34 of file abf_itf_attach.c.