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

Go to the source code of this file.

Data Structures

struct  fid_address_t
 
struct  source_dest_t
 
struct  vni_t
 
struct  nsh_t
 
struct  lcaf_arp_ndp_t
 
struct  lcaf_t
 
struct  locator_t
 
struct  locator_set_t
 
struct  mapping_t
 
struct  locator_pair
 

Macros

#define SHA1_AUTH_DATA_LEN   20
 
#define SHA256_AUTH_DATA_LEN   32
 
#define fid_addr_ippref(_a)   (_a)->ippref
 
#define fid_addr_prefix_length(_a)   ip_prefix_len(&fid_addr_ippref(_a))
 
#define fid_addr_ip_version(_a)   ip_prefix_version(&fid_addr_ippref(_a))
 
#define fid_addr_mac(_a)   (_a)->mac
 
#define fid_addr_nsh(_a)   (_a)->nsh
 
#define fid_addr_type(_a)   (_a)->type
 
#define sd_dst(_a)   (_a)->dst
 
#define sd_src(_a)   (_a)->src
 
#define sd_src_ippref(_a)   fid_addr_ippref(&sd_src(_a))
 
#define sd_dst_ippref(_a)   fid_addr_ippref(&sd_dst(_a))
 
#define sd_src_mac(_a)   fid_addr_mac(&sd_src(_a))
 
#define sd_dst_mac(_a)   fid_addr_mac(&sd_dst(_a))
 
#define sd_src_type(_a)   fid_addr_type(&sd_src(_a))
 
#define sd_dst_type(_a)   fid_addr_type(&sd_dst(_a))
 
#define vni_vni(_a)   (_a)->vni
 
#define vni_mask_len(_a)   (_a)->vni_mask_len
 
#define vni_gid(_a)   (_a)->gid_addr
 
#define nsh_spi(_a)   (_a)->spi
 
#define nsh_si(_a)   (_a)->si
 
#define lcaf_arp_ndp_ip(_a)   (_a)->addr
 
#define lcaf_arp_ndp_ip_ver(_a)   ip_addr_version(&lcaf_arp_ndp_ip(_a))
 
#define lcaf_arp_ndp_ip4(_a)   ip_addr_v4(&lcaf_arp_ndp_ip(_a))
 
#define lcaf_arp_ndp_ip6(_a)   ip_addr_v6(&lcaf_arp_ndp_ip(_a))
 
#define lcaf_arp_ndp_bd(_a)   (_a)->bd
 
#define lcaf_type(_a)   (_a)->type
 
#define lcaf_vni(_a)   vni_vni(& (_a)->uni)
 
#define lcaf_vni_len(_a)   vni_mask_len(& (_a)->uni)
 
#define gid_address_type(_a)   (_a)->type
 
#define gid_address_ippref(_a)   (_a)->ippref
 
#define gid_address_ippref_len(_a)   (_a)->ippref.len
 
#define gid_address_ip(_a)   ip_prefix_addr(&gid_address_ippref(_a))
 
#define gid_address_ip_version(_a)   ip_addr_version(&gid_address_ip(_a))
 
#define gid_address_lcaf(_a)   (_a)->lcaf
 
#define gid_address_mac(_a)   (_a)->mac
 
#define gid_address_nsh(_a)   (_a)->nsh
 
#define gid_address_nsh_spi(_a)   nsh_spi(&gid_address_nsh(_a))
 
#define gid_address_nsh_si(_a)   nsh_si(&gid_address_nsh(_a))
 
#define gid_address_vni(_a)   (_a)->vni
 
#define gid_address_vni_mask(_a)   (_a)->vni_mask
 
#define gid_address_sd_dst_ippref(_a)   sd_dst_ippref(&(_a)->sd)
 
#define gid_address_sd_src_ippref(_a)   sd_src_ippref(&(_a)->sd)
 
#define gid_address_sd_dst_mac(_a)   sd_dst_mac(&(_a)->sd)
 
#define gid_address_sd_src_mac(_a)   sd_src_mac(&(_a)->sd)
 
#define gid_address_sd(_a)   (_a)->sd
 
#define gid_address_sd_src(_a)   sd_src(&gid_address_sd(_a))
 
#define gid_address_sd_dst(_a)   sd_dst(&gid_address_sd(_a))
 
#define gid_address_sd_src_type(_a)   sd_src_type(&gid_address_sd(_a))
 
#define gid_address_sd_dst_type(_a)   sd_dst_type(&gid_address_sd(_a))
 
#define gid_address_arp_ndp(_a)   (_a)->arp_ndp
 
#define gid_address_arp_ndp_bd(_a)   lcaf_arp_ndp_bd(&gid_address_arp_ndp(_a))
 
#define gid_address_arp_ndp_ip(_a)   lcaf_arp_ndp_ip(&gid_address_arp_ndp(_a))
 
#define gid_address_arp_ip4(_a)   lcaf_arp_ndp_ip4(&gid_address_arp_ndp(_a))
 
#define gid_address_ndp_ip6(_a)   lcaf_arp_ndp_ip6(&gid_address_arp_ndp(_a))
 
#define gid_address_ndp_bd   gid_address_arp_ndp_bd
 
#define gid_address_arp_bd   gid_address_arp_ndp_bd
 
#define foreach_gid_address_type_fcns
 

Typedefs

typedef enum fid_addr_type_t_ fid_addr_type_t
 
typedef fid_address_t dp_address_t
 
typedef struct _gid_address_t gid_address_t
 
typedef struct locator_pair locator_pair_t
 

Enumerations

enum  lisp_key_type_t { HMAC_NO_KEY = 0, HMAC_SHA_1_96, HMAC_SHA_256_128 }
 
enum  gid_address_type_t {
  GID_ADDR_IP_PREFIX, GID_ADDR_LCAF, GID_ADDR_MAC, GID_ADDR_SRC_DST,
  GID_ADDR_NSH, GID_ADDR_ARP, GID_ADDR_NDP, GID_ADDR_NO_ADDRESS,
  GID_ADDR_TYPES
}
 
enum  lcaf_type_t {
  LCAF_NULL_BODY = 0, LCAF_AFI_LIST_TYPE, LCAF_INSTANCE_ID, LCAF_SOURCE_DEST = 12,
  LCAF_NSH = 17, LCAF_TYPES
}
 
enum  fid_addr_type_t_ { FID_ADDR_IP_PREF, FID_ADDR_MAC, FID_ADDR_NSH }
 
enum  lisp_afi_e {
  LISP_AFI_NO_ADDR, LISP_AFI_IP, LISP_AFI_IP6, LISP_AFI_LCAF = 16387,
  LISP_AFI_MAC = 16389
}
 

Functions

uword unformat_hmac_key_id (unformat_input_t *input, va_list *args)
 
u8format_hmac_key_id (u8 *s, va_list *args)
 
u8format_fid_address (u8 *s, va_list *args)
 
u16 ip4_address_size_to_put ()
 
u16 ip6_address_size_to_put ()
 
u32 ip4_address_put (u8 *b, ip4_address_t *a)
 
u32 ip6_address_put (u8 *b, ip6_address_t *a)
 
u16 ip_address_size_to_write (ip_address_t *a)
 
u16 ip_address_iana_afi (ip_address_t *a)
 
u8 ip_address_max_len (u8 ver)
 
u32 ip_address_put (u8 *b, ip_address_t *a)
 
u8format_gid_address (u8 *s, va_list *args)
 
uword unformat_gid_address (unformat_input_t *input, va_list *args)
 
int gid_address_cmp (gid_address_t *a1, gid_address_t *a2)
 
void gid_address_free (gid_address_t *a)
 
u16 gid_address_size_to_put (gid_address_t *a)
 
u16 gid_address_put (u8 *b, gid_address_t *gid)
 
u8 gid_address_len (gid_address_t *a)
 
void * gid_address_cast (gid_address_t *gid, gid_address_type_t type)
 
void gid_address_copy (gid_address_t *dst, gid_address_t *src)
 
u32 gid_address_parse (u8 *offset, gid_address_t *a)
 
void gid_address_ip_set (gid_address_t *dst, void *src, u8 version)
 
static foreach_gid_address_type_fcns u64 mac_to_u64 (u8 *m)
 
u32 locator_parse (void *ptr, locator_t *loc)
 
void locator_copy (locator_t *dst, locator_t *src)
 
u32 locator_cmp (locator_t *l1, locator_t *l2)
 
void locator_free (locator_t *l)
 
uword unformat_negative_mapping_action (unformat_input_t *input, va_list *args)
 
u8format_negative_mapping_action (u8 *, va_list *args)
 
void build_src_dst (gid_address_t *sd, gid_address_t *src, gid_address_t *dst)
 
void gid_address_from_ip (gid_address_t *g, ip_address_t *ip)
 
void gid_to_dp_address (gid_address_t *g, dp_address_t *d)
 

Macro Definition Documentation

◆ fid_addr_ip_version

#define fid_addr_ip_version (   _a)    ip_prefix_version(&fid_addr_ippref(_a))

Definition at line 84 of file lisp_types.h.

◆ fid_addr_ippref

#define fid_addr_ippref (   _a)    (_a)->ippref

Definition at line 82 of file lisp_types.h.

◆ fid_addr_mac

#define fid_addr_mac (   _a)    (_a)->mac

Definition at line 85 of file lisp_types.h.

◆ fid_addr_nsh

#define fid_addr_nsh (   _a)    (_a)->nsh

Definition at line 86 of file lisp_types.h.

◆ fid_addr_prefix_length

#define fid_addr_prefix_length (   _a)    ip_prefix_len(&fid_addr_ippref(_a))

Definition at line 83 of file lisp_types.h.

◆ fid_addr_type

#define fid_addr_type (   _a)    (_a)->type

Definition at line 87 of file lisp_types.h.

◆ foreach_gid_address_type_fcns

#define foreach_gid_address_type_fcns
Value:
_(no_addr) \
_(ip_prefix) \
_(lcaf) \
_(mac) \
_(nsh) \
_(sd)

Definition at line 233 of file lisp_types.h.

◆ gid_address_arp_bd

#define gid_address_arp_bd   gid_address_arp_ndp_bd

Definition at line 230 of file lisp_types.h.

◆ gid_address_arp_ip4

#define gid_address_arp_ip4 (   _a)    lcaf_arp_ndp_ip4(&gid_address_arp_ndp(_a))

Definition at line 227 of file lisp_types.h.

◆ gid_address_arp_ndp

#define gid_address_arp_ndp (   _a)    (_a)->arp_ndp

Definition at line 224 of file lisp_types.h.

◆ gid_address_arp_ndp_bd

#define gid_address_arp_ndp_bd (   _a)    lcaf_arp_ndp_bd(&gid_address_arp_ndp(_a))

Definition at line 225 of file lisp_types.h.

◆ gid_address_arp_ndp_ip

#define gid_address_arp_ndp_ip (   _a)    lcaf_arp_ndp_ip(&gid_address_arp_ndp(_a))

Definition at line 226 of file lisp_types.h.

◆ gid_address_ip

#define gid_address_ip (   _a)    ip_prefix_addr(&gid_address_ippref(_a))

Definition at line 206 of file lisp_types.h.

◆ gid_address_ip_version

#define gid_address_ip_version (   _a)    ip_addr_version(&gid_address_ip(_a))

Definition at line 207 of file lisp_types.h.

◆ gid_address_ippref

#define gid_address_ippref (   _a)    (_a)->ippref

Definition at line 204 of file lisp_types.h.

◆ gid_address_ippref_len

#define gid_address_ippref_len (   _a)    (_a)->ippref.len

Definition at line 205 of file lisp_types.h.

◆ gid_address_lcaf

#define gid_address_lcaf (   _a)    (_a)->lcaf

Definition at line 208 of file lisp_types.h.

◆ gid_address_mac

#define gid_address_mac (   _a)    (_a)->mac

Definition at line 209 of file lisp_types.h.

◆ gid_address_ndp_bd

#define gid_address_ndp_bd   gid_address_arp_ndp_bd

Definition at line 229 of file lisp_types.h.

◆ gid_address_ndp_ip6

#define gid_address_ndp_ip6 (   _a)    lcaf_arp_ndp_ip6(&gid_address_arp_ndp(_a))

Definition at line 228 of file lisp_types.h.

◆ gid_address_nsh

#define gid_address_nsh (   _a)    (_a)->nsh

Definition at line 210 of file lisp_types.h.

◆ gid_address_nsh_si

#define gid_address_nsh_si (   _a)    nsh_si(&gid_address_nsh(_a))

Definition at line 212 of file lisp_types.h.

◆ gid_address_nsh_spi

#define gid_address_nsh_spi (   _a)    nsh_spi(&gid_address_nsh(_a))

Definition at line 211 of file lisp_types.h.

◆ gid_address_sd

#define gid_address_sd (   _a)    (_a)->sd

Definition at line 219 of file lisp_types.h.

◆ gid_address_sd_dst

#define gid_address_sd_dst (   _a)    sd_dst(&gid_address_sd(_a))

Definition at line 221 of file lisp_types.h.

◆ gid_address_sd_dst_ippref

#define gid_address_sd_dst_ippref (   _a)    sd_dst_ippref(&(_a)->sd)

Definition at line 215 of file lisp_types.h.

◆ gid_address_sd_dst_mac

#define gid_address_sd_dst_mac (   _a)    sd_dst_mac(&(_a)->sd)

Definition at line 217 of file lisp_types.h.

◆ gid_address_sd_dst_type

#define gid_address_sd_dst_type (   _a)    sd_dst_type(&gid_address_sd(_a))

Definition at line 223 of file lisp_types.h.

◆ gid_address_sd_src

#define gid_address_sd_src (   _a)    sd_src(&gid_address_sd(_a))

Definition at line 220 of file lisp_types.h.

◆ gid_address_sd_src_ippref

#define gid_address_sd_src_ippref (   _a)    sd_src_ippref(&(_a)->sd)

Definition at line 216 of file lisp_types.h.

◆ gid_address_sd_src_mac

#define gid_address_sd_src_mac (   _a)    sd_src_mac(&(_a)->sd)

Definition at line 218 of file lisp_types.h.

◆ gid_address_sd_src_type

#define gid_address_sd_src_type (   _a)    sd_src_type(&gid_address_sd(_a))

Definition at line 222 of file lisp_types.h.

◆ gid_address_type

#define gid_address_type (   _a)    (_a)->type

Definition at line 203 of file lisp_types.h.

◆ gid_address_vni

#define gid_address_vni (   _a)    (_a)->vni

Definition at line 213 of file lisp_types.h.

◆ gid_address_vni_mask

#define gid_address_vni_mask (   _a)    (_a)->vni_mask

Definition at line 214 of file lisp_types.h.

◆ lcaf_arp_ndp_bd

#define lcaf_arp_ndp_bd (   _a)    (_a)->bd

Definition at line 135 of file lisp_types.h.

◆ lcaf_arp_ndp_ip

#define lcaf_arp_ndp_ip (   _a)    (_a)->addr

Definition at line 131 of file lisp_types.h.

◆ lcaf_arp_ndp_ip4

#define lcaf_arp_ndp_ip4 (   _a)    ip_addr_v4(&lcaf_arp_ndp_ip(_a))

Definition at line 133 of file lisp_types.h.

◆ lcaf_arp_ndp_ip6

#define lcaf_arp_ndp_ip6 (   _a)    ip_addr_v6(&lcaf_arp_ndp_ip(_a))

Definition at line 134 of file lisp_types.h.

◆ lcaf_arp_ndp_ip_ver

#define lcaf_arp_ndp_ip_ver (   _a)    ip_addr_version(&lcaf_arp_ndp_ip(_a))

Definition at line 132 of file lisp_types.h.

◆ lcaf_type

#define lcaf_type (   _a)    (_a)->type

Definition at line 149 of file lisp_types.h.

◆ lcaf_vni

#define lcaf_vni (   _a)    vni_vni(& (_a)->uni)

Definition at line 150 of file lisp_types.h.

◆ lcaf_vni_len

#define lcaf_vni_len (   _a)    vni_mask_len(& (_a)->uni)

Definition at line 151 of file lisp_types.h.

◆ nsh_si

#define nsh_si (   _a)    (_a)->si

Definition at line 123 of file lisp_types.h.

◆ nsh_spi

#define nsh_spi (   _a)    (_a)->spi

Definition at line 122 of file lisp_types.h.

◆ sd_dst

#define sd_dst (   _a)    (_a)->dst

Definition at line 96 of file lisp_types.h.

◆ sd_dst_ippref

#define sd_dst_ippref (   _a)    fid_addr_ippref(&sd_dst(_a))

Definition at line 99 of file lisp_types.h.

◆ sd_dst_mac

#define sd_dst_mac (   _a)    fid_addr_mac(&sd_dst(_a))

Definition at line 101 of file lisp_types.h.

◆ sd_dst_type

#define sd_dst_type (   _a)    fid_addr_type(&sd_dst(_a))

Definition at line 103 of file lisp_types.h.

◆ sd_src

#define sd_src (   _a)    (_a)->src

Definition at line 97 of file lisp_types.h.

◆ sd_src_ippref

#define sd_src_ippref (   _a)    fid_addr_ippref(&sd_src(_a))

Definition at line 98 of file lisp_types.h.

◆ sd_src_mac

#define sd_src_mac (   _a)    fid_addr_mac(&sd_src(_a))

Definition at line 100 of file lisp_types.h.

◆ sd_src_type

#define sd_src_type (   _a)    fid_addr_type(&sd_src(_a))

Definition at line 102 of file lisp_types.h.

◆ SHA1_AUTH_DATA_LEN

#define SHA1_AUTH_DATA_LEN   20

Definition at line 22 of file lisp_types.h.

◆ SHA256_AUTH_DATA_LEN

#define SHA256_AUTH_DATA_LEN   32

Definition at line 23 of file lisp_types.h.

◆ vni_gid

#define vni_gid (   _a)    (_a)->gid_addr

Definition at line 114 of file lisp_types.h.

◆ vni_mask_len

#define vni_mask_len (   _a)    (_a)->vni_mask_len

Definition at line 113 of file lisp_types.h.

◆ vni_vni

#define vni_vni (   _a)    (_a)->vni

Definition at line 112 of file lisp_types.h.

Typedef Documentation

◆ dp_address_t

Definition at line 80 of file lisp_types.h.

◆ fid_addr_type_t

◆ gid_address_t

typedef struct _gid_address_t gid_address_t

◆ locator_pair_t

typedef struct locator_pair locator_pair_t

Enumeration Type Documentation

◆ fid_addr_type_t_

Enumerator
FID_ADDR_IP_PREF 
FID_ADDR_MAC 
FID_ADDR_NSH 

Definition at line 61 of file lisp_types.h.

◆ gid_address_type_t

Enumerator
GID_ADDR_IP_PREFIX 
GID_ADDR_LCAF 
GID_ADDR_MAC 
GID_ADDR_SRC_DST 
GID_ADDR_NSH 
GID_ADDR_ARP 
GID_ADDR_NDP 
GID_ADDR_NO_ADDRESS 
GID_ADDR_TYPES 

Definition at line 35 of file lisp_types.h.

◆ lcaf_type_t

Enumerator
LCAF_NULL_BODY 
LCAF_AFI_LIST_TYPE 
LCAF_INSTANCE_ID 
LCAF_SOURCE_DEST 
LCAF_NSH 
LCAF_TYPES 

Definition at line 50 of file lisp_types.h.

◆ lisp_afi_e

enum lisp_afi_e
Enumerator
LISP_AFI_NO_ADDR 
LISP_AFI_IP 
LISP_AFI_IP6 
LISP_AFI_LCAF 
LISP_AFI_MAC 

Definition at line 181 of file lisp_types.h.

◆ lisp_key_type_t

Enumerator
HMAC_NO_KEY 
HMAC_SHA_1_96 
HMAC_SHA_256_128 

Definition at line 25 of file lisp_types.h.

Function Documentation

◆ build_src_dst()

void build_src_dst ( gid_address_t sd,
gid_address_t src,
gid_address_t dst 
)

Definition at line 1452 of file lisp_types.c.

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

◆ format_fid_address()

u8* format_fid_address ( u8 s,
va_list *  args 
)

Definition at line 166 of file lisp_types.c.

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

◆ format_gid_address()

u8* format_gid_address ( u8 s,
va_list *  args 
)

Definition at line 187 of file lisp_types.c.

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

◆ format_hmac_key_id()

u8* format_hmac_key_id ( u8 s,
va_list *  args 
)

Definition at line 342 of file lisp_types.c.

◆ format_negative_mapping_action()

u8* format_negative_mapping_action ( u8 ,
va_list *  args 
)

Definition at line 360 of file lisp_types.c.

+ Here is the caller graph for this function:

◆ gid_address_cast()

void* gid_address_cast ( gid_address_t gid,
gid_address_type_t  type 
)

Definition at line 1197 of file lisp_types.c.

◆ gid_address_cmp()

int gid_address_cmp ( gid_address_t a1,
gid_address_t a2 
)

Definition at line 1340 of file lisp_types.c.

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

◆ gid_address_copy()

void gid_address_copy ( gid_address_t dst,
gid_address_t src 
)

Definition at line 1203 of file lisp_types.c.

+ Here is the caller graph for this function:

◆ gid_address_free()

void gid_address_free ( gid_address_t a)

Definition at line 733 of file lisp_types.c.

+ Here is the caller graph for this function:

◆ gid_address_from_ip()

void gid_address_from_ip ( gid_address_t g,
ip_address_t ip 
)

Definition at line 744 of file lisp_types.c.

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

◆ gid_address_ip_set()

void gid_address_ip_set ( gid_address_t dst,
void *  src,
u8  version 
)

◆ gid_address_len()

u8 gid_address_len ( gid_address_t a)

Definition at line 1158 of file lisp_types.c.

+ Here is the caller graph for this function:

◆ gid_address_parse()

u32 gid_address_parse ( u8 offset,
gid_address_t a 
)

Definition at line 1223 of file lisp_types.c.

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

◆ gid_address_put()

u16 gid_address_put ( u8 b,
gid_address_t gid 
)

Definition at line 1172 of file lisp_types.c.

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

◆ gid_address_size_to_put()

u16 gid_address_size_to_put ( gid_address_t a)

Definition at line 1188 of file lisp_types.c.

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

◆ gid_to_dp_address()

void gid_to_dp_address ( gid_address_t g,
dp_address_t d 
)

Definition at line 489 of file lisp_types.c.

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

◆ ip4_address_put()

u32 ip4_address_put ( u8 b,
ip4_address_t a 
)

Definition at line 452 of file lisp_types.c.

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

◆ ip4_address_size_to_put()

u16 ip4_address_size_to_put ( )

Definition at line 438 of file lisp_types.c.

+ Here is the caller graph for this function:

◆ ip6_address_put()

u32 ip6_address_put ( u8 b,
ip6_address_t *  a 
)

Definition at line 461 of file lisp_types.c.

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

◆ ip6_address_size_to_put()

u16 ip6_address_size_to_put ( )

Definition at line 445 of file lisp_types.c.

+ Here is the caller graph for this function:

◆ ip_address_iana_afi()

u16 ip_address_iana_afi ( ip_address_t a)

Definition at line 426 of file lisp_types.c.

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

◆ ip_address_max_len()

u8 ip_address_max_len ( u8  ver)

Definition at line 432 of file lisp_types.c.

+ Here is the caller graph for this function:

◆ ip_address_put()

u32 ip_address_put ( u8 b,
ip_address_t a 
)

Definition at line 470 of file lisp_types.c.

+ Here is the call graph for this function:

◆ ip_address_size_to_write()

u16 ip_address_size_to_write ( ip_address_t a)

Definition at line 420 of file lisp_types.c.

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

◆ locator_cmp()

u32 locator_cmp ( locator_t l1,
locator_t l2 
)

Definition at line 1427 of file lisp_types.c.

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

◆ locator_copy()

void locator_copy ( locator_t dst,
locator_t src 
)

Definition at line 1418 of file lisp_types.c.

+ Here is the call graph for this function:

◆ locator_free()

void locator_free ( locator_t l)

Definition at line 1445 of file lisp_types.c.

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

◆ locator_parse()

u32 locator_parse ( void *  ptr,
locator_t loc 
)

Definition at line 1392 of file lisp_types.c.

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

◆ mac_to_u64()

static foreach_gid_address_type_fcns u64 mac_to_u64 ( u8 m)
inlinestatic

Definition at line 254 of file lisp_types.h.

◆ unformat_gid_address()

uword unformat_gid_address ( unformat_input_t input,
va_list *  args 
)

Definition at line 272 of file lisp_types.c.

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

◆ unformat_hmac_key_id()

uword unformat_hmac_key_id ( unformat_input_t input,
va_list *  args 
)

Definition at line 247 of file lisp_types.c.

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

◆ unformat_negative_mapping_action()

uword unformat_negative_mapping_action ( unformat_input_t input,
va_list *  args 
)

Definition at line 313 of file lisp_types.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
mac
vl_api_mac_address_t mac
Definition: l2.api:559
ip_prefix
Definition: ip_types.h:116
nsh
typedef nsh
Definition: lisp_types.api:45