test ip exists
rename field name thread_id -> pcap_tid
ip_cmp, mac_cmp
change params to const