Searched refs:addr_match (Results 1 – 5 of 5) sorted by relevance
/linux/net/mptcp/ |
H A D | pm_userspace.c | 37 bool addr_match = false; in mptcp_userspace_pm_append_new_local_addr() local 45 addr_match = mptcp_addresses_equal(&e->addr, &entry->addr, true); in mptcp_userspace_pm_append_new_local_addr() 46 if (addr_match && entry->addr.id == 0 && needs_id) in mptcp_userspace_pm_append_new_local_addr() 49 if (addr_match && id_match) { in mptcp_userspace_pm_append_new_local_addr() 52 } else if (addr_match || id_match) { in mptcp_userspace_pm_append_new_local_addr() 58 if (!match && !addr_match && !id_match) { in mptcp_userspace_pm_append_new_local_addr()
|
/linux/sound/core/seq/ |
H A D | seq_ports.c | 474 static inline int addr_match(struct snd_seq_addr *r, struct snd_seq_addr *s) in addr_match() function 484 if (addr_match(&r->sender, &s->sender) && in match_subs_info() 485 addr_match(&r->dest, &s->dest)) { in match_subs_info() 664 if (addr_match(dest_addr, &s->info.dest)) { in snd_seq_port_get_subscription()
|
/linux/net/tipc/ |
H A D | node.c | 1177 bool addr_match = false; in tipc_node_check_dest() local 1203 addr_match = l && !memcmp(&le->maddr, maddr, sizeof(*maddr)); in tipc_node_check_dest() 1208 if (sign_match && addr_match && link_up) { in tipc_node_check_dest() 1213 } else if (sign_match && addr_match && !link_up) { in tipc_node_check_dest() 1216 } else if (sign_match && !addr_match && link_up) { in tipc_node_check_dest() 1226 } else if (sign_match && !addr_match && !link_up) { in tipc_node_check_dest() 1235 } else if (!sign_match && addr_match && link_up) { in tipc_node_check_dest() 1248 } else if (!sign_match && addr_match && !link_up) { in tipc_node_check_dest() 1254 } else if (!sign_match && !addr_match && link_up) { in tipc_node_check_dest() 1259 } else if (!sign_match && !addr_match && !link_up) { in tipc_node_check_dest()
|
/linux/include/net/ |
H A D | xfrm.h | 880 static inline bool addr_match(const void *token1, const void *token2, in addr_match() function
|
/linux/net/xfrm/ |
H A D | xfrm_policy.c | 234 return addr_match(&fl6->daddr, &sel->daddr, sel->prefixlen_d) && in __xfrm6_selector_match() 235 addr_match(&fl6->saddr, &sel->saddr, sel->prefixlen_s) && in __xfrm6_selector_match()
|