Lines Matching refs:remoteOnly
513 …ntries_v4(struct soflow_hash_entry *entry1, struct soflow_hash_entry *entry2, boolean_t remoteOnly) in soflow_match_entries_v4() argument
520 …boolean_t lport_matched = (remoteOnly || entry1->soflow_lport_updated || entry1->soflow_lport == e… in soflow_match_entries_v4()
521 boolean_t laddr_matched = (remoteOnly || entry1->soflow_laddr_updated || in soflow_match_entries_v4()
530 …ntries_v6(struct soflow_hash_entry *entry1, struct soflow_hash_entry *entry2, boolean_t remoteOnly) in soflow_match_entries_v6() argument
537 …boolean_t lport_matched = (remoteOnly || entry1->soflow_lport_updated || entry1->soflow_lport == e… in soflow_match_entries_v6()
538 boolean_t laddr_matched = (remoteOnly || entry1->soflow_laddr_updated || in soflow_match_entries_v6()
547 …low_db *db, struct sockaddr *local, struct sockaddr *remote, boolean_t remoteOnly, boolean_t withL… in soflow_db_lookup_entry_internal() argument
576 hashkey_laddr = (remoteOnly == false) ? matchentry.soflow_laddr.addr6.s6_addr32[3] : 0; in soflow_db_lookup_entry_internal()
579 hashkey_laddr = (remoteOnly == false) ? matchentry.soflow_laddr.addr46.ia46_addr4.s_addr : 0; in soflow_db_lookup_entry_internal()
583 hashkey_lport = (remoteOnly == false || withLocalPort == true) ? matchentry.soflow_lport : 0; in soflow_db_lookup_entry_internal()
591 if (soflow_match_entries_v6(nextentry, &matchentry, remoteOnly)) { in soflow_db_lookup_entry_internal()
596 if (soflow_match_entries_v4(nextentry, &matchentry, remoteOnly)) { in soflow_db_lookup_entry_internal()
610 …_entry(struct soflow_db *db, struct sockaddr *local, struct sockaddr *remote, boolean_t remoteOnly) in soflow_db_lookup_entry() argument
612 …struct soflow_hash_entry *entry = soflow_db_lookup_entry_internal(db, local, remote, remoteOnly, f… in soflow_db_lookup_entry()
613 if (entry == NULL && remoteOnly == true) { in soflow_db_lookup_entry()
614 entry = soflow_db_lookup_entry_internal(db, local, remote, remoteOnly, true); in soflow_db_lookup_entry()