def _eth(dst, src, data):
    """Builds an Ethernet frame with and IP packet as payload"""

    packet = (
        dst +        # dst
        src +        # src
        b'' +        # vlan
        b'\x08\x00'  # type
    ) + data

    return packet