void add_tree_ipv4(const unsigned long ip,
                   const u_char *data,
                   const int len,
                   const int datalink)
{
    tcpr_tree_t *newnode;
    assert(data);

    newnode = packet2tree(data, len, datalink);
    if (newnode) {
        assert(ip == newnode->u.ip);

        if (newnode->type == DIR_UNKNOWN) {
            /* couldn't figure out if packet was client or server */

            dbgx(2, "%s (%lu) unknown client/server",
                 get_addr2name4(newnode->u.ip, RESOLVE),
                 newnode->u.ip);

        }

        add_tree_node(newnode);
    }
}
void add_tree_ipv4(const unsigned long ip,
                   const u_char *data,
                   const int len,
                   const int datalink)
{
    tcpr_tree_t *newnode;
    assert(data);

    newnode = packet2tree(data, len, datalink);
    if (newnode) {
        assert(ip == newnode->u.ip);

        if (newnode->type == DIR_UNKNOWN) {
             

            dbgx(2, "%s (%lu) unknown client/server",
                 get_addr2name4(newnode->u.ip, RESOLVE),
                 newnode->u.ip);

        }

        add_tree_node(newnode);
    }
}