Home
last modified time | relevance | path

Searched refs:addr_match (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/net/tipc/
Ddiscover.c138 bool addr_match = false; in tipc_disc_rcv() local
177 addr_match = link && !memcmp(&link->media_addr, &maddr, sizeof(maddr)); in tipc_disc_rcv()
183 if (sign_match && addr_match && link_up) { in tipc_disc_rcv()
185 } else if (sign_match && addr_match && !link_up) { in tipc_disc_rcv()
188 } else if (sign_match && !addr_match && link_up) { in tipc_disc_rcv()
198 } else if (sign_match && !addr_match && !link_up) { in tipc_disc_rcv()
206 } else if (!sign_match && addr_match && link_up) { in tipc_disc_rcv()
219 } else if (!sign_match && addr_match && !link_up) { in tipc_disc_rcv()
225 } else if (!sign_match && !addr_match && link_up) { in tipc_disc_rcv()
230 } else if (!sign_match && !addr_match && !link_up) { in tipc_disc_rcv()
/linux-4.1.27/sound/core/seq/
Dseq_ports.c463 static inline int addr_match(struct snd_seq_addr *r, struct snd_seq_addr *s) in addr_match() function
473 if (addr_match(&r->sender, &s->sender) && in match_subs_info()
474 addr_match(&r->dest, &s->dest)) { in match_subs_info()
642 if (addr_match(dest_addr, &s->info.dest)) { in snd_seq_port_get_subscription()
/linux-4.1.27/net/xfrm/
Dxfrm_state.c1606 return addr_match(&x->props.saddr, &filter->saddr, in __xfrm_state_filter_match()
1608 addr_match(&x->id.daddr, &filter->daddr, in __xfrm_state_filter_match()
Dxfrm_policy.c80 return addr_match(&fl6->daddr, &sel->daddr, sel->prefixlen_d) && in __xfrm6_selector_match()
81 addr_match(&fl6->saddr, &sel->saddr, sel->prefixlen_s) && in __xfrm6_selector_match()
/linux-4.1.27/include/net/
Dxfrm.h819 static inline bool addr_match(const void *token1, const void *token2, in addr_match() function