Lines Matching refs:matchentry
560 struct soflow_hash_entry matchentry = { }; in soflow_db_lookup_entry_internal() local
573 soflow_fill_hash_entry_from_address(&matchentry, TRUE, local, FALSE); in soflow_db_lookup_entry_internal()
575 soflow_fill_hash_entry_from_inp(&matchentry, TRUE, inp, FALSE); in soflow_db_lookup_entry_internal()
578 soflow_fill_hash_entry_from_address(&matchentry, FALSE, remote, FALSE); in soflow_db_lookup_entry_internal()
580 soflow_fill_hash_entry_from_inp(&matchentry, FALSE, inp, FALSE); in soflow_db_lookup_entry_internal()
582 matchentry.soflow_debug = SOFLOW_ENABLE_DEBUG(db->soflow_db_so, (&matchentry)); in soflow_db_lookup_entry_internal()
583 SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, &matchentry, true, "Looking for entry"); in soflow_db_lookup_entry_internal()
585 if (matchentry.soflow_family == AF_INET6) { in soflow_db_lookup_entry_internal()
586 hashkey_faddr = matchentry.soflow_faddr.addr6.s6_addr32[3]; in soflow_db_lookup_entry_internal()
587 hashkey_laddr = (remoteOnly == false) ? matchentry.soflow_laddr.addr6.s6_addr32[3] : 0; in soflow_db_lookup_entry_internal()
589 hashkey_faddr = matchentry.soflow_faddr.addr46.ia46_addr4.s_addr; in soflow_db_lookup_entry_internal()
590 hashkey_laddr = (remoteOnly == false) ? matchentry.soflow_laddr.addr46.ia46_addr4.s_addr : 0; in soflow_db_lookup_entry_internal()
593 hashkey_fport = matchentry.soflow_fport; in soflow_db_lookup_entry_internal()
594 hashkey_lport = (remoteOnly == false || withLocalPort == true) ? matchentry.soflow_lport : 0; in soflow_db_lookup_entry_internal()
601 if (matchentry.soflow_family == AF_INET6) { in soflow_db_lookup_entry_internal()
602 if (soflow_match_entries_v6(nextentry, &matchentry, remoteOnly)) { in soflow_db_lookup_entry_internal()
606 } else if (matchentry.soflow_family == AF_INET) { in soflow_db_lookup_entry_internal()
607 if (soflow_match_entries_v4(nextentry, &matchentry, remoteOnly)) { in soflow_db_lookup_entry_internal()
615 …SOFLOW_ENTRY_LOG(LOG_DEBUG, db->soflow_db_so, &matchentry, matchentry.soflow_debug, "Entry not fou… in soflow_db_lookup_entry_internal()