FD.io VPP  v16.06
Vector Packet Processing
lisp_msg_serdes.c File Reference
+ Include dependency graph for lisp_msg_serdes.c:

Go to the source code of this file.

Functions

voidlisp_msg_put_gid (vlib_buffer_t *b, gid_address_t *gid)
 
static voidlisp_msg_put_itr_rlocs (lisp_cp_main_t *lcm, vlib_buffer_t *b, gid_address_t *rlocs, u8 *locs_put)
 
voidlisp_msg_put_eid_rec (vlib_buffer_t *b, gid_address_t *eid)
 
u64 nonce_build (u32 seed)
 
voidlisp_msg_put_mreq (lisp_cp_main_t *lcm, vlib_buffer_t *b, gid_address_t *seid, gid_address_t *deid, gid_address_t *rlocs, u8 is_smr_invoked, u64 *nonce)
 
voidlisp_msg_push_ecm (vlib_main_t *vm, vlib_buffer_t *b, int lp, int rp, gid_address_t *la, gid_address_t *ra)
 
static u32 msg_type_to_hdr_len (lisp_msg_type_e type)
 
voidlisp_msg_pull_hdr (vlib_buffer_t *b, lisp_msg_type_e type)
 
u32 lisp_msg_parse_addr (vlib_buffer_t *b, gid_address_t *eid)
 
u32 lisp_msg_parse_eid_rec (vlib_buffer_t *b, gid_address_t *eid)
 
u32 lisp_msg_parse_itr_rlocs (vlib_buffer_t *b, gid_address_t **rlocs, u8 rloc_count)
 
u32 lisp_msg_parse_loc (vlib_buffer_t *b, locator_t *loc)
 
u32 lisp_msg_parse_mapping_record (vlib_buffer_t *b, gid_address_t *eid, locator_t **locs, locator_t *probed_)
 

Function Documentation

u32 lisp_msg_parse_addr ( vlib_buffer_t b,
gid_address_t eid 
)

Definition at line 150 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 lisp_msg_parse_eid_rec ( vlib_buffer_t b,
gid_address_t eid 
)

Definition at line 159 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 lisp_msg_parse_itr_rlocs ( vlib_buffer_t b,
gid_address_t **  rlocs,
u8  rloc_count 
)

Definition at line 173 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 lisp_msg_parse_loc ( vlib_buffer_t b,
locator_t loc 
)

Definition at line 192 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 lisp_msg_parse_mapping_record ( vlib_buffer_t b,
gid_address_t eid,
locator_t **  locs,
locator_t probed_ 
)

Definition at line 206 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* lisp_msg_pull_hdr ( vlib_buffer_t b,
lisp_msg_type_e  type 
)

Definition at line 144 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

void* lisp_msg_push_ecm ( vlib_main_t vm,
vlib_buffer_t b,
int  lp,
int  rp,
gid_address_t la,
gid_address_t ra 
)

Definition at line 113 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* lisp_msg_put_eid_rec ( vlib_buffer_t b,
gid_address_t eid 
)

Definition at line 47 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* lisp_msg_put_gid ( vlib_buffer_t b,
gid_address_t gid 
)

Definition at line 21 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* lisp_msg_put_itr_rlocs ( lisp_cp_main_t lcm,
vlib_buffer_t b,
gid_address_t rlocs,
u8 locs_put 
)
static

Definition at line 29 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* lisp_msg_put_mreq ( lisp_cp_main_t lcm,
vlib_buffer_t b,
gid_address_t seid,
gid_address_t deid,
gid_address_t rlocs,
u8  is_smr_invoked,
u64 nonce 
)

Definition at line 81 of file lisp_msg_serdes.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 msg_type_to_hdr_len ( lisp_msg_type_e  type)
static

Definition at line 130 of file lisp_msg_serdes.c.

+ Here is the caller graph for this function:

u64 nonce_build ( u32  seed)

Definition at line 58 of file lisp_msg_serdes.c.

+ Here is the caller graph for this function: