FD.io VPP  v18.01.2-1-g9b554f3
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

void * lisp_msg_put_gid (vlib_buffer_t *b, gid_address_t *gid)
 
static void lisp_msg_put_locators (vlib_buffer_t *b, locator_t *locators)
 
static void lisp_msg_put_mapping_record (vlib_buffer_t *b, mapping_t *record)
 
static void lisp_msg_put_mreg_records (vlib_buffer_t *b, mapping_t *records)
 
static void * lisp_msg_put_itr_rlocs (lisp_cp_main_t *lcm, vlib_buffer_t *b, gid_address_t *rlocs, u8 *locs_put)
 
void * lisp_msg_put_eid_rec (vlib_buffer_t *b, gid_address_t *eid)
 
u64 nonce_build (u32 seed)
 
void * lisp_msg_put_map_reply (vlib_buffer_t *b, mapping_t *records, u64 nonce, u8 probe_bit)
 
void * lisp_msg_put_map_register (vlib_buffer_t *b, mapping_t *records, u8 want_map_notify, u16 auth_data_len, u64 *nonce, u32 *msg_len)
 
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, u8 rloc_probe_set, u64 *nonce)
 
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)
 
static u32 msg_type_to_hdr_len (lisp_msg_type_e type)
 
void * lisp_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 261 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 272 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 288 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 307 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 323 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 255 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 214 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 103 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 67 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 85 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_locators ( vlib_buffer_t b,
locator_t locators 
)
static

Definition at line 23 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_map_register ( vlib_buffer_t b,
mapping_t records,
u8  want_map_notify,
u16  auth_data_len,
u64 nonce,
u32 msg_len 
)

Definition at line 153 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_map_reply ( vlib_buffer_t b,
mapping_t records,
u64  nonce,
u8  probe_bit 
)

Definition at line 137 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_mapping_record ( vlib_buffer_t b,
mapping_t record 
)
static

Definition at line 42 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_mreg_records ( vlib_buffer_t b,
mapping_t records 
)
static

Definition at line 59 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,
u8  rloc_probe_set,
u64 nonce 
)

Definition at line 180 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 241 of file lisp_msg_serdes.c.

+ Here is the caller graph for this function:

u64 nonce_build ( u32  seed)

Definition at line 114 of file lisp_msg_serdes.c.

+ Here is the caller graph for this function: