FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
lpm_ Struct Reference

Public Member Functions

 BVT (clib_bihash) bihash
 

Data Fields

void(* add )(struct lpm_ *lpm, void *addr_v, u8 pfxlen, u32 value)
 
void(* delete )(struct lpm_ *lpm, void *addr_v, u8 pfxlen)
 
u32(* lookup )(struct lpm_ *lpm, void *addr_v, u8 pfxlen)
 
uwordhash [33]
 
uwordprefix_lengths_bitmap
 
u32 prefix_length_refcount [129]
 

Detailed Description

Definition at line 24 of file lpm.h.

Member Function Documentation

◆ BVT()

lpm_::BVT ( clib_bihash  )

Field Documentation

◆ add

void(* lpm_::add) (struct lpm_ *lpm, void *addr_v, u8 pfxlen, u32 value)

Definition at line 25 of file lpm.h.

◆ delete

void(* lpm_::delete) (struct lpm_ *lpm, void *addr_v, u8 pfxlen)

Definition at line 26 of file lpm.h.

◆ hash

uword* lpm_::hash[33]

Definition at line 30 of file lpm.h.

◆ lookup

u32(* lpm_::lookup) (struct lpm_ *lpm, void *addr_v, u8 pfxlen)

Definition at line 27 of file lpm.h.

◆ prefix_length_refcount

u32 lpm_::prefix_length_refcount[129]

Definition at line 35 of file lpm.h.

◆ prefix_lengths_bitmap

uword* lpm_::prefix_lengths_bitmap

Definition at line 34 of file lpm.h.


The documentation for this struct was generated from the following file: