Go to the source code of this file.
| #define ETHERNET_ADDRESS_MULTICAST 1 |
| #define ETHERNET_ADDRESS_UNICAST 0 |
| #define ETHERNET_N_PBB (1 << 24) |
| #define ETHERNET_N_VLAN (1 << 12) |
| #define ethernet_type |
( |
|
n, |
|
|
|
s |
|
) |
| ETHERNET_TYPE_##s = n, |
| typedef CLIB_PACKED |
( |
struct{u8 b_dst_address[6];u8 b_src_address[6];u16 b_type;u16 priority_dei_id;u16 i_type;u32 priority_dei_uca_res_sid;} |
| ) |
|
| static uword ethernet_address_cast |
( |
u8 * |
a | ) |
|
|
inlinestatic |
| static uword ethernet_address_is_locally_administered |
( |
u8 * |
a | ) |
|
|
inlinestatic |
| static void ethernet_address_set_locally_administered |
( |
u8 * |
a | ) |
|
|
inlinestatic |