FD.io VPP  v19.01.3-6-g70449b9b9
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 22 of file ethernet_types_api.c.

◆ vl_print

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

Definition at line 27 of file ethernet_types_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 28 of file ethernet_types_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 18 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 33 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 39 of file ethernet_types_api.c.

+ Here is the caller graph for this function: