Lines Matching refs:to
58 user_copy_address(const sockaddr* from, sockaddr** to)
61 *to = NULL;
69 *to = (sockaddr*)malloc(address.sa_len);
70 if (*to == NULL)
74 if (user_memcpy(*to, from, address.sa_len) < B_OK)
77 memcpy(*to, &address, address.sa_len);
84 user_copy_address(const sockaddr* from, sockaddr_storage* to)
89 if (user_memcpy(to, from, sizeof(sockaddr)) < B_OK)
92 if (to->ss_len > sizeof(sockaddr)) {
93 if (to->ss_len > sizeof(sockaddr_storage))
95 if (user_memcpy(to, from, to->ss_len) < B_OK)
169 // neglect routes that point to devices that have no link
215 // special address to find an interface directly
290 /*! Determines the size of a buffer large enough to contain the whole
449 TRACE("add route to domain %s: dest %s, mask %s, gw %s, flags %lx\n",