def get_flow_info(http_flow):
    """
    Get the TCP, IP and Meta information of the flow.

    :param http_flow: http flow object
    :return: tcp (src,dst ports), ip (src, dst addresses)
    """
    return {
        "TcpSrcPort": http_flow["TCP"].srcport,
        "TcpDstPort": http_flow["TCP"].dstport,
        "IpSrc": http_flow["IP"].src,
        "IpDst": http_flow["IP"].dst,
        "MetaSniffTimeStamp": http_flow.sniff_timestamp,
        "ResultIndex": http_flow.frame_info.number
    }