Home
last modified time | relevance | path

Searched refs:cmp_addr (Results 1 – 7 of 7) sorted by relevance

/linux/net/sctp/
H A Dbind_addr.c324 if (opt->pf->cmp_addr(&laddr->a, addr, opt)) { in sctp_bind_addr_match()
346 if (sp->pf->af->cmp_addr(&laddr->a, &laddr2->a) && in sctp_bind_addrs_check()
390 conflict = sp->pf->cmp_addr(&laddr->a, addr, sp); in sctp_bind_addr_conflict()
413 if (af->cmp_addr(&laddr->a, addr)) in sctp_bind_addr_state()
446 if (opt->pf->cmp_addr(&laddr->a, addr, opt)) in sctp_find_unmatch_addr()
H A Dproc.c104 if (primary && af->cmp_addr(addr, primary)) { in sctp_seq_dump_local_addrs()
125 if (af->cmp_addr(addr, primary)) { in sctp_seq_dump_remote_addrs()
H A Dprotocol.c1115 .cmp_addr = sctp_inet_cmp_addr,
1197 .cmp_addr = sctp_v4_cmp_addr,
H A Dassociola.c902 return af->cmp_addr(ss1, ss2); in sctp_cmp_addr_exact()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_addr.c67 static int cmp_addr(const struct sockaddr_storage *addr1, socklen_t addr1_len,
146 if (!ASSERT_EQ(cmp_addr((struct sockaddr_storage *)addr, in sock_addr_op()
176 if (!ASSERT_EQ(cmp_addr((struct sockaddr_storage *)addr, in send_msg_op()
2210 static int cmp_addr(const struct sockaddr_storage *addr1, socklen_t addr1_len, in cmp_addr() function
2255 return cmp_addr(&addr1, len1, addr2, addr2_len, cmp_port); in cmp_sock_addr()
2469 err = cmp_addr(&src_addr, src_addr_len, &addr, addr_len, false); in test_xmsg()
/linux/drivers/net/ppp/
H A Dpppoe.c130 static inline int cmp_addr(struct pppoe_addr *a, __be16 sid, char *addr) in cmp_addr() function
167 if (cmp_addr(&ret->pppoe_pa, sid, addr) && in __get_item()
207 if (cmp_addr(&ret->pppoe_pa, sid, addr) && in __delete_item()
/linux/include/net/sctp/
H A Dstructs.h454 int (*cmp_addr) (const union sctp_addr *addr1, member
497 int (*cmp_addr) (const union sctp_addr *, member