lib/dp-packet.h
/* Get the start of the Ethernet frame. 'l3_ofs' marks the end of the l2
 * headers, so return NULL if it is not set. */
Get the start of the Ethernet frame. 'l3_ofs' marks the end of the l2
headers, so return NULL if it is not set.
Get the start of the Ethernet frame . ' l3_ofs ' marks the end of the l2 headers so return NULL if it is not set .
static inline void *
dp_packet_eth(const struct dp_packet *b)
{
    return (dp_packet_is_eth(b) && b->l3_ofs != UINT16_MAX)
            ? dp_packet_data(b) : NULL;
}
static inline void * dp_packet_eth ( const struct dp_packet * b ) { return ( dp_packet_is_eth ( b ) && b -> l3_ofs != UINT16_MAX ) ? dp_packet_data ( b ) : NULL ; }
Get the start of the Ethernet frame.
Get the start of the Ethernet frame .