Lines Matching defs:from
31 * Portions of this source code were derived from Berkeley 4.3 BSD
32 * under license from the Regents of the University of California.
173 struct sockaddr_in from;
188 from.sin_family = AF_INET;
189 ipv4_getipaddr(&from.sin_addr);
190 from.sin_addr.s_addr = htonl(from.sin_addr.s_addr);
191 from.sin_port = get_source_port(TRUE);
193 if (bind(*sockp, (struct sockaddr *)&from, sizeof (from)) < 0) {
241 struct sockaddr_in from;
337 (struct sockaddr *)&from, &fromlen);
413 dprintf("clntbudp_call: from: %s, error: ",
414 inet_ntoa(from.sin_addr));