40 #ifndef included_ethernet_packet_h 41 #define included_ethernet_packet_h 45 #define ethernet_type(n,s) ETHERNET_TYPE_##s = n, 60 #define ETHERNET_ADDRESS_UNICAST 0 61 #define ETHERNET_ADDRESS_MULTICAST 1 67 return (a[0] >> 0) & 1;
73 return (a[0] >> 1) & 1;
88 #define ETHERNET_N_VLAN (1 << 12) 122 #define ETHERNET_N_PBB (1 << 24) 140 u32 priority_dei_uca_res_sid;
141 }) ethernet_pbb_header_packed_t;
typedef CLIB_PACKED(struct dhcpv6_relay_ctx_{dhcpv6_header_t *pkt;u32 pkt_len;u32 dhcpv6_len;u32 if_index;u32 ctx_id;char ctx_name[32+1];u8 dhcp_msg_type;}) dhcpv6_relay_ctx_t
static uword ethernet_address_is_locally_administered(u8 *a)
static uword ethernet_address_cast(u8 *a)
static void ethernet_address_set_locally_administered(u8 *a)