Lines Matching defs:from
26 l2cap_copy_address(const sockaddr *from, sockaddr **to,
38 if (from == NULL)
40 if (from->sa_family != AF_BLUETOOTH)
47 memcpy(*to, from, sizeof(sockaddr_l2cap));
207 l2cap_set_to(sockaddr *address, const sockaddr *from)
209 if (address == NULL || from == NULL)
212 if (from->sa_family != AF_BLUETOOTH)
215 memcpy(address, from, sizeof(sockaddr_l2cap));
233 const sockaddr_l2cap *from = (const sockaddr_l2cap *)_from;
235 if (address == NULL || from == NULL)
238 if (from->l2cap_family != AF_BLUETOOTH)
245 address->l2cap_bdaddr = from->l2cap_bdaddr;
248 address->l2cap_psm = from->l2cap_psm;