More ADDRESS macro to address function conversions.
authorGerald Combs <gerald@wireshark.org>
Fri, 23 Oct 2015 18:14:34 +0000 (11:14 -0700)
committerMichael Mann <mmann78@netscape.net>
Sat, 24 Oct 2015 01:44:24 +0000 (01:44 +0000)
Replace remaining calls to SET_ADDRESS, CMP_ADDRESS, ADDRESSES_EQUAL,
COPY_ADDRESS, and COPY_ADDRESS_SHALLOW with their lower-case
equivalents.

Replace all ADD_ADDRESS_TO_HASH calls with add_address_to_hash.

Change-Id: I4cff857d7a84085abe0bccd52d2605d2a468bf6f
Reviewed-on: https://code.wireshark.org/review/11229
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
16 files changed:
asn1/atn-ulcs/packet-atn-ulcs-template.c
epan/conversation.c
epan/conversation_table.c
epan/dissectors/packet-atn-ulcs.c
epan/dissectors/packet-dcerpc-netlogon.c
epan/dissectors/packet-iax2.c
epan/dissectors/packet-netflow.c
plugins/docsis/packet-macmgmt.c
plugins/profinet/packet-dcerpc-pn-io.c
plugins/profinet/packet-dcom-cba-acco.c
plugins/profinet/packet-pn-dcp.c
plugins/unistim/packet-unistim.c
plugins/wimax/packet-wmx.c
plugins/wimax/wimax_fch_decoder.c
ui/gtk/conversation_hastables_dlg.c
ui/voip_calls.c

index 6bf411ffab6a16329e232a3871787771e4c3de65..5b7c04f8d2c1c187ff751b67dc10b7c822596a75 100644 (file)
@@ -511,10 +511,10 @@ atn_conversation_t * find_atn_conversation(
     guint32 key = 0;
     guint32 tmp = 0;
 
-    ADD_ADDRESS_TO_HASH( tmp, address1);
+    add_address_to_hash( tmp, address1);
     key = (tmp << 16) | clnp_ref1 ;
 
-    ADD_ADDRESS_TO_HASH( tmp, address2);
+    add_address_to_hash( tmp, address2);
     key = (tmp << 24) | key ;
 
     /* search for atn conversation */
@@ -537,10 +537,10 @@ atn_conversation_t * create_atn_conversation(
     guint32 key = 0;
     guint32 tmp = 0;
 
-    ADD_ADDRESS_TO_HASH( tmp, address1);
+    add_address_to_hash( tmp, address1);
     key = (tmp << 16) | clnp_ref1 ;
 
-    ADD_ADDRESS_TO_HASH( tmp, address2);
+    add_address_to_hash( tmp, address2);
     key = (tmp << 24) | key ;
 
     /* search for aircraft entry */
index 1b9c95357eb41d0247bf71fe8e2b3306cd72fc9f..ab5cd5e312c8920248d5e66c5b464c3d8165768c 100644 (file)
@@ -199,15 +199,15 @@ conversation_hash_exact(gconstpointer v)
        hash_val = 0;
        tmp_addr.len  = 4;
 
-       ADD_ADDRESS_TO_HASH(hash_val, &key->addr1);
+       add_address_to_hash(hash_val, &key->addr1);
 
        tmp_addr.data = &key->port1;
-       ADD_ADDRESS_TO_HASH(hash_val, &tmp_addr);
+       add_address_to_hash(hash_val, &tmp_addr);
 
-       ADD_ADDRESS_TO_HASH(hash_val, &key->addr2);
+       add_address_to_hash(hash_val, &key->addr2);
 
        tmp_addr.data = &key->port2;
-       ADD_ADDRESS_TO_HASH(hash_val, &tmp_addr);
+       add_address_to_hash(hash_val, &tmp_addr);
 
        hash_val += ( hash_val << 3 );
        hash_val ^= ( hash_val >> 11 );
@@ -282,13 +282,13 @@ conversation_hash_no_addr2(gconstpointer v)
        hash_val = 0;
        tmp_addr.len  = 4;
 
-       ADD_ADDRESS_TO_HASH(hash_val, &key->addr1);
+       add_address_to_hash(hash_val, &key->addr1);
 
        tmp_addr.data = &key->port1;
-       ADD_ADDRESS_TO_HASH(hash_val, &tmp_addr);
+       add_address_to_hash(hash_val, &tmp_addr);
 
        tmp_addr.data = &key->port2;
-       ADD_ADDRESS_TO_HASH(hash_val, &tmp_addr);
+       add_address_to_hash(hash_val, &tmp_addr);
 
        hash_val += ( hash_val << 3 );
        hash_val ^= ( hash_val >> 11 );
@@ -347,12 +347,12 @@ conversation_hash_no_port2(gconstpointer v)
        hash_val = 0;
        tmp_addr.len  = 4;
 
-       ADD_ADDRESS_TO_HASH(hash_val, &key->addr1);
+       add_address_to_hash(hash_val, &key->addr1);
 
        tmp_addr.data = &key->port1;
-       ADD_ADDRESS_TO_HASH(hash_val, &tmp_addr);
+       add_address_to_hash(hash_val, &tmp_addr);
 
-       ADD_ADDRESS_TO_HASH(hash_val, &key->addr2);
+       add_address_to_hash(hash_val, &key->addr2);
 
        hash_val += ( hash_val << 3 );
        hash_val ^= ( hash_val >> 11 );
@@ -411,10 +411,10 @@ conversation_hash_no_addr2_or_port2(gconstpointer v)
        hash_val = 0;
        tmp_addr.len  = 4;
 
-       ADD_ADDRESS_TO_HASH(hash_val, &key->addr1);
+       add_address_to_hash(hash_val, &key->addr1);
 
        tmp_addr.data = &key->port1;
-       ADD_ADDRESS_TO_HASH(hash_val, &tmp_addr);
+       add_address_to_hash(hash_val, &tmp_addr);
 
        hash_val += ( hash_val << 3 );
        hash_val ^= ( hash_val >> 11 );
index b342d3fb5ced09d9cb0e20819a0819473b99ed4b..974b1e8a4ae39d6f134f61441824ff2f836372ec 100644 (file)
@@ -229,9 +229,9 @@ conversation_hash(gconstpointer v)
     guint hash_val;
 
     hash_val = 0;
-    ADD_ADDRESS_TO_HASH(hash_val, &key->addr1);
+    add_address_to_hash(hash_val, &key->addr1);
     hash_val += key->port1;
-    ADD_ADDRESS_TO_HASH(hash_val, &key->addr2);
+    add_address_to_hash(hash_val, &key->addr2);
     hash_val += key->port2;
     hash_val ^= key->conv_id;
 
@@ -723,7 +723,7 @@ host_hash(gconstpointer v)
     guint hash_val;
 
     hash_val = 0;
-    ADD_ADDRESS_TO_HASH(hash_val, &key->myaddress);
+    add_address_to_hash(hash_val, &key->myaddress);
     hash_val += key->port;
     return hash_val;
 }
index c67c18c0e0542e6d8bfdc481202d374da38b468f..d48118d2b297b294bbb9f15ba10bc4703c9358c9 100644 (file)
@@ -1914,10 +1914,10 @@ atn_conversation_t * find_atn_conversation(
     guint32 key = 0;
     guint32 tmp = 0;
 
-    ADD_ADDRESS_TO_HASH( tmp, address1);
+    add_address_to_hash( tmp, address1);
     key = (tmp << 16) | clnp_ref1 ;
 
-    ADD_ADDRESS_TO_HASH( tmp, address2);
+    add_address_to_hash( tmp, address2);
     key = (tmp << 24) | key ;
 
     /* search for atn conversation */
@@ -1940,10 +1940,10 @@ atn_conversation_t * create_atn_conversation(
     guint32 key = 0;
     guint32 tmp = 0;
 
-    ADD_ADDRESS_TO_HASH( tmp, address1);
+    add_address_to_hash( tmp, address1);
     key = (tmp << 16) | clnp_ref1 ;
 
-    ADD_ADDRESS_TO_HASH( tmp, address2);
+    add_address_to_hash( tmp, address2);
     key = (tmp << 24) | key ;
 
     /* search for aircraft entry */
index f44f3c1b3384fc5d45d8c6d1d01aed1cbe811e31..2b4632d2ec096128e33a5643ae72de6c82992287 100644 (file)
@@ -605,8 +605,8 @@ netlogon_auth_hash (gconstpointer k)
         }
     }
 
-    ADD_ADDRESS_TO_HASH(hash_val1, &key1->src);
-    ADD_ADDRESS_TO_HASH(hash_val1, &key1->dst);
+    add_address_to_hash(hash_val1, &key1->src);
+    add_address_to_hash(hash_val1, &key1->dst);
     return hash_val1;
 }
 static int
index 0f362f986a6504b63c2a25e7fc7cf78f3fd910c3..7b981f99f60feaa9d7c61793f1c3bb49c920784b 100644 (file)
@@ -640,7 +640,7 @@ static guint iax_circuit_hash(gconstpointer v)
   guint                  hash_val;
 
   hash_val = 0;
-  ADD_ADDRESS_TO_HASH(hash_val, &key->addr);
+  add_address_to_hash(hash_val, &key->addr);
   hash_val += (guint)(key->ptype);
   hash_val += (guint)(key->port);
   hash_val += (guint)(key->callno);
index 1c9a5774f1214ef216891c0c561c11520678cc0f..e40dc439cc5ffd53d4e7ec22e41db5d5910214d8 100644 (file)
@@ -7334,8 +7334,8 @@ v9_v10_tmplt_table_hash(gconstpointer k)
 
     val = tmplt_p->src_id + (tmplt_p->tmplt_id << 9) + tmplt_p->src_port + tmplt_p->dst_port;
 
-    ADD_ADDRESS_TO_HASH(val, &tmplt_p->src_addr);
-    ADD_ADDRESS_TO_HASH(val, &tmplt_p->dst_addr);
+    add_address_to_hash(val, &tmplt_p->src_addr);
+    add_address_to_hash(val, &tmplt_p->dst_addr);
 
     return val;
 }
index 2dae3da8f6291ce4e542cd6cc95bfc0dfd3176c0..e7da2a2eec9ea91428685a2fa5ceffd3efd51c42 100644 (file)
@@ -157,9 +157,9 @@ dissect_macmgmt (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
   col_clear(pinfo->cinfo, COL_INFO);
 
   TVB_SET_ADDRESS (&pinfo->dl_src, AT_ETHER, tvb, 6, 6);
-  COPY_ADDRESS_SHALLOW(&pinfo->src, &pinfo->dl_src);
+  copy_address_shallow(&pinfo->src, &pinfo->dl_src);
   TVB_SET_ADDRESS (&pinfo->dl_dst, AT_ETHER, tvb, 0, 6);
-  COPY_ADDRESS_SHALLOW(&pinfo->dst, &pinfo->dl_dst);
+  copy_address_shallow(&pinfo->dst, &pinfo->dl_dst);
 
   if (tree)
     {
index 3016b4e3f87af3a4ca444df09208032170360944..69ebaceb976013fa539780b587b33a4481c5ff9d 100644 (file)
@@ -2676,8 +2676,8 @@ pnio_ar_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, pnio_ar_t *ar)
         proto_tree *sub_tree;
         address   controllermac_addr, devicemac_addr;
 
-        SET_ADDRESS(&controllermac_addr, AT_ETHER, 6, ar->controllermac);
-        SET_ADDRESS(&devicemac_addr, AT_ETHER, 6, ar->devicemac);
+        set_address(&controllermac_addr, AT_ETHER, 6, ar->controllermac);
+        set_address(&devicemac_addr, AT_ETHER, 6, ar->devicemac);
 
         sub_tree = proto_tree_add_subtree_format(tree, tvb, 0, 0, ett_pn_io_ar_info, &sub_item,
             "ARUUID:%s ContrMAC:%s ContrAlRef:0x%x DevMAC:%s DevAlRef:0x%x InCR:0x%x OutCR=0x%x",
@@ -9683,8 +9683,8 @@ pn_io_ar_conv_filter(packet_info *pinfo)
         return NULL;
     }
 
-    SET_ADDRESS(&controllermac_addr, AT_ETHER, 6, ar->controllermac);
-    SET_ADDRESS(&devicemac_addr, AT_ETHER, 6, ar->devicemac);
+    set_address(&controllermac_addr, AT_ETHER, 6, ar->controllermac);
+    set_address(&devicemac_addr, AT_ETHER, 6, ar->devicemac);
 
     guid_str = guid_to_str(wmem_packet_scope(), (const e_guid_t*) &ar->aruuid);
     buf = g_strdup_printf(
@@ -9710,8 +9710,8 @@ pn_io_ar_conv_data_filter(packet_info *pinfo)
         return NULL;
     }
 
-    SET_ADDRESS(&controllermac_addr, AT_ETHER, 6, ar->controllermac);
-    SET_ADDRESS(&devicemac_addr, AT_ETHER, 6, ar->devicemac);
+    set_address(&controllermac_addr, AT_ETHER, 6, ar->controllermac);
+    set_address(&devicemac_addr, AT_ETHER, 6, ar->devicemac);
 
     controllermac_str = address_to_str(wmem_packet_scope(), &controllermac_addr);
     devicemac_str = address_to_str(wmem_packet_scope(), &devicemac_addr);
index adf18820429d9c3bf40c63bcb345e9f1bf834a73..94de1f9ae2533b72548830009176e72dfec1a9b9 100644 (file)
@@ -425,7 +425,7 @@ cba_object_dump(void)
 
     for(pdevs = cba_pdevs; pdevs != NULL; pdevs = g_list_next(pdevs)) {
         pdev = pdevs->data;
-        SET_ADDRESS(&addr, AT_IPv4, 4, pdev->ip);
+        set_address(&addr, AT_IPv4, 4, pdev->ip);
         g_warning("PDev #%5u: %s IFs:%u", pdev->first_packet, address_to_str(wmem_packet_scope(), &addr),
             pdev->object ? g_list_length(pdev->object->interfaces) : 0);
 
@@ -641,7 +641,7 @@ cba_acco_add(packet_info *pinfo, const char *acco)
         return NULL;
     }
 
-    SET_ADDRESS(&addr, AT_IPv4, 4, &ip);
+    set_address(&addr, AT_IPv4, 4, &ip);
     pdev = cba_pdev_add(pinfo, &addr);
     delim++;
 
index 4bb89bbec910d6827a2044850cb0f0ba4c882b86..df681aa603013bacadd65409835a9c0b36212c90 100644 (file)
@@ -439,17 +439,17 @@ dissect_PNDCP_Suboption_IP(tvbuff_t *tvb, int offset, packet_info *pinfo,
 
         /* IPAddress */
         offset = dissect_pn_ipv4(tvb, offset, pinfo, tree, hf_pn_dcp_suboption_ip_ip, &ip);
-        SET_ADDRESS(&addr, AT_IPv4, 4, &ip);
+        set_address(&addr, AT_IPv4, 4, &ip);
         proto_item_append_text(block_item, ", IP: %s", address_to_str(wmem_packet_scope(), &addr));
 
         /* Subnetmask */
         offset = dissect_pn_ipv4(tvb, offset, pinfo, tree, hf_pn_dcp_suboption_ip_subnetmask, &ip);
-        SET_ADDRESS(&addr, AT_IPv4, 4, &ip);
+        set_address(&addr, AT_IPv4, 4, &ip);
         proto_item_append_text(block_item, ", Subnet: %s", address_to_str(wmem_packet_scope(), &addr));
 
         /* StandardGateway */
         offset = dissect_pn_ipv4(tvb, offset, pinfo, tree, hf_pn_dcp_suboption_ip_standard_gateway, &ip);
-        SET_ADDRESS(&addr, AT_IPv4, 4, &ip);
+        set_address(&addr, AT_IPv4, 4, &ip);
         proto_item_append_text(block_item, ", Gateway: %s", address_to_str(wmem_packet_scope(), &addr));
         break;
     default:
index a509b63b15dfbb353a2615ebd7feffdb695530df..7858f78ee460a8fdc603047a028135422e263de4 100644 (file)
@@ -231,8 +231,8 @@ dissect_unistim(tvbuff_t *tvb,packet_info *pinfo,proto_tree *tree,void *data _U_
    uinfo->set_termid = -1;
    uinfo->string_data = NULL;
    uinfo->key_buffer = NULL;
-   SET_ADDRESS(&uinfo->it_ip, AT_NONE, 0, NULL);
-   SET_ADDRESS(&uinfo->ni_ip, AT_NONE, 0, NULL);
+   set_address(&uinfo->it_ip, AT_NONE, 0, NULL);
+   set_address(&uinfo->ni_ip, AT_NONE, 0, NULL);
    uinfo->it_port = 0;
 
    offset+=4;
@@ -288,15 +288,15 @@ dissect_payload(proto_tree *overall_unistim_tree,tvbuff_t *tvb, gint offset, pac
    /*UNISTIM only so no term id but further payload work*/
          /* Collect info for tap */
          /* If no term id then packet sourced from NI */
-         COPY_ADDRESS(&(uinfo->ni_ip), &(pinfo->src));
-         COPY_ADDRESS(&(uinfo->it_ip), &(pinfo->dst));
+         copy_address(&(uinfo->ni_ip), &(pinfo->src));
+         copy_address(&(uinfo->it_ip), &(pinfo->dst));
          uinfo->it_port = pinfo->destport;
          break;
       case 0x02:
    /*UNISTIM with term id*/
          /* Termid packs are always sourced from the it, so collect relevant infos */
-         COPY_ADDRESS(&(uinfo->ni_ip),&(pinfo->dst));
-         COPY_ADDRESS(&(uinfo->it_ip),&(pinfo->src));
+         copy_address(&(uinfo->ni_ip),&(pinfo->dst));
+         copy_address(&(uinfo->it_ip),&(pinfo->src));
          uinfo->it_port = pinfo->srcport;
          uinfo->termid = tvb_get_ntohl(tvb,offset);
 
@@ -2314,7 +2314,7 @@ dissect_audio_switch(proto_tree *msg_tree,packet_info *pinfo,
                guint16 far_port;
 
                far_ip_addr = tvb_get_ipv4(tvb, offset-4);
-               SET_ADDRESS(&far_addr, AT_IPv4, 4, &far_ip_addr);
+               set_address(&far_addr, AT_IPv4, 4, &far_ip_addr);
 
                far_port = tvb_get_ntohs(tvb, offset-8);
                rtp_add_address(pinfo, &far_addr, far_port, 0, "UNISTIM", pinfo->fd->num, FALSE, NULL);
index 9fc792419e89e36177a9591aa4ebbc4cf26353a9..621ef4422072a680745890f8030b588711ca0c4f 100644 (file)
@@ -267,7 +267,7 @@ gboolean is_down_link(packet_info *pinfo)
        if (pinfo->p2p_dir == P2P_DIR_RECV)
                return TRUE;
        if (pinfo->p2p_dir == P2P_DIR_UNKNOWN)
-               if(bs_address.len && !CMP_ADDRESS(&bs_address, &pinfo->src))
+               if(bs_address.len && !cmp_address(&bs_address, &pinfo->src))
                        return TRUE;
        return FALSE;
 }
index afa3d19a286e2a6065df31bcfd031a2657583f45..2e9d6d213ee1cdb87b14fd4cc4b463974fe029c4 100644 (file)
@@ -106,7 +106,7 @@ static void dissect_wimax_fch_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_t
 
        /* save the base station address (once) */
        if(!bs_address.len)
-               COPY_ADDRESS(&bs_address, &(pinfo->src));
+               copy_address(&bs_address, &(pinfo->src));
        /* update the info column */
        col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "FCH");
        if (tree)
index 9c90694eceab59300463ed69a4266b6dfd7d96df..88951083fdd2c15cad5ab55effe9626c4d5ee23b 100644 (file)
@@ -53,41 +53,41 @@ conversation_hash_exact(gconstpointer v)
     const conversation_key *key = (const conversation_key *)v;
     guint hash_val;
     int i;
-    const guint8 *ADD_ADDRESS_TO_HASH_data;
+    const guint8 *add_address_to_hash_data;
 
     hash_val = 0;
 #if 0
-    ADD_ADDRESS_TO_HASH(hash_val, &key->addr1);
+    add_address_to_hash(hash_val, &key->addr1);
     hash_val += key->port1;
-    ADD_ADDRESS_TO_HASH(hash_val, &key->addr2);
+    add_address_to_hash(hash_val, &key->addr2);
     hash_val += key->port2;
 
     return hash_val;
 #endif
     for ( i = 0; i < key->addr1.len; i++ ) {
-        ADD_ADDRESS_TO_HASH_data = (const guint8 *)((&key->addr1)->data);
-        hash_val += ADD_ADDRESS_TO_HASH_data[i];
+        add_address_to_hash_data = (const guint8 *)((&key->addr1)->data);
+        hash_val += add_address_to_hash_data[i];
         hash_val += ( hash_val << 10 );
         hash_val ^= ( hash_val >> 6 );
     }
 
     for ( i = 0; i < 4; i++ ) {
-        ADD_ADDRESS_TO_HASH_data = (const guint8 *)(&key->port1);
-        hash_val += ADD_ADDRESS_TO_HASH_data[i];
+        add_address_to_hash_data = (const guint8 *)(&key->port1);
+        hash_val += add_address_to_hash_data[i];
         hash_val += ( hash_val << 10 );
         hash_val ^= ( hash_val >> 6 );
     }
 
     for ( i = 0; i < key->addr2.len; i++ ) {
-        ADD_ADDRESS_TO_HASH_data = (const guint8 *)((&key->addr2)->data);
-        hash_val += ADD_ADDRESS_TO_HASH_data[i];
+        add_address_to_hash_data = (const guint8 *)((&key->addr2)->data);
+        hash_val += add_address_to_hash_data[i];
         hash_val += ( hash_val << 10 );
         hash_val ^= ( hash_val >> 6 );
     }
 
     for ( i = 0; i < 4; i++ ) {
-        ADD_ADDRESS_TO_HASH_data = (const guint8 *)(&key->port2);
-        hash_val += ADD_ADDRESS_TO_HASH_data[i];
+        add_address_to_hash_data = (const guint8 *)(&key->port2);
+        hash_val += add_address_to_hash_data[i];
         hash_val += ( hash_val << 10 );
         hash_val ^= ( hash_val >> 6 );
     }
@@ -106,9 +106,9 @@ conversation_hash_exact_old(gconstpointer v)
     guint hash_val;
 
     hash_val = 0;
-    ADD_ADDRESS_TO_HASH(hash_val, &key->addr1);
+    add_address_to_hash(hash_val, &key->addr1);
     hash_val += key->port1;
-    ADD_ADDRESS_TO_HASH(hash_val, &key->addr2);
+    add_address_to_hash(hash_val, &key->addr2);
     hash_val += key->port2;
 
     return hash_val;
index 0e4e82d9eaee2610ab842dd6564f9fbc4a1c169f..0a630276b42259d761b327827fb64d9690d18e4e 100644 (file)
@@ -3160,7 +3160,7 @@ unistim_calls_packet(void *tap_offset_ptr, packet_info *pinfo, epan_dissect_t *e
                 }
             } else {
                 /* If no term id use ips / port to find entry */
-                if(addresses_equal(&tmp_unistim_info->it_ip, &pinfo->dst) && ADDRESSES_EQUAL(&tmp_unistim_info->ni_ip,&pinfo->src) && (tmp_unistim_info->it_port == pinfo->destport)) {
+                if(addresses_equal(&tmp_unistim_info->it_ip, &pinfo->dst) && addresses_equal(&tmp_unistim_info->ni_ip,&pinfo->src) && (tmp_unistim_info->it_port == pinfo->destport)) {
                     if(tmp_listinfo->call_state == VOIP_COMPLETED || tmp_listinfo->call_state == VOIP_UNKNOWN) {
                         /* Do nothing previous call */
                     } else {
@@ -3168,7 +3168,7 @@ unistim_calls_packet(void *tap_offset_ptr, packet_info *pinfo, epan_dissect_t *e
                         break;
                     }
                 }
-                else if(addresses_equal(&tmp_unistim_info->it_ip, &pinfo->src) && ADDRESSES_EQUAL(&tmp_unistim_info->ni_ip,&pinfo->dst) && (tmp_unistim_info->it_port == pinfo->srcport)) {
+                else if(addresses_equal(&tmp_unistim_info->it_ip, &pinfo->src) && addresses_equal(&tmp_unistim_info->ni_ip,&pinfo->dst) && (tmp_unistim_info->it_port == pinfo->srcport)) {
                     if(tmp_listinfo->call_state == VOIP_COMPLETED || tmp_listinfo->call_state == VOIP_UNKNOWN) {
                         /* Do nothing, it ain't our call.. */
                     } else {