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.
157 struct sockaddr_in from;
175 from.sin_family = AF_INET;
176 ipv4_getipaddr(&from.sin_addr);
177 from.sin_addr.s_addr = htonl(from.sin_addr.s_addr);
178 from.sin_port = get_source_port(TRUE);
180 if (bind(*sockp, (struct sockaddr *)&from, sizeof (from)) < 0) {
408 struct sockaddr from;
409 uint_t fromlen = sizeof (from);
418 while ((inlen = recvfrom(ct->ct_sock, buf, len, 0, &from,