FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
ethernet_types_api.c File Reference
+ Include dependency graph for ethernet_types_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 

Functions

void mac_address_decode (const u8 *in, mac_address_t *out)
 Conversion functions to/from (decode/encode) API types to VPP internal types. More...
 
void mac_address_encode (const mac_address_t *in, u8 *out)
 

Macro Definition Documentation

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 23 of file ethernet_types_api.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 28 of file ethernet_types_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 29 of file ethernet_types_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 19 of file ethernet_types_api.c.

Function Documentation

◆ mac_address_decode()

void mac_address_decode ( const u8 in,
mac_address_t out 
)

Conversion functions to/from (decode/encode) API types to VPP internal types.

Definition at line 34 of file ethernet_types_api.c.

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

◆ mac_address_encode()

void mac_address_encode ( const mac_address_t in,
u8 out 
)

Definition at line 40 of file ethernet_types_api.c.

+ Here is the caller graph for this function: