def METHOD_NAME(pkt):
    """
    Convert scapy packet to dictionary
    Args:
        pkt: Scapy packet
    Returns:
        Packet dictionary
    """
    packet_dict = OrderedDict()
    counter = 0
    while True:
        layer = pkt.getlayer(counter)
        if not layer:
            break
        layer_dict = _parse_layer(layer)
        if layer_dict:
            packet_dict.update(layer_dict)
        counter += 1
    return packet_dict