Lines Matching defs:in_addr
336 struct sockaddr_in in_addr;
346 addrlen = sizeof (in_addr);
347 getsockname (dpy->fd, (struct sockaddr *) &in_addr, &addrlen);
348 if (in_addr.sin_family == 2)
350 encrypted_data[j] = in_addr.sin_addr.s_net; j++;
351 encrypted_data[j] = in_addr.sin_addr.s_host; j++;
352 encrypted_data[j] = in_addr.sin_addr.s_lh; j++;
353 encrypted_data[j] = in_addr.sin_addr.s_impno; j++;
354 encrypted_data[j] = (in_addr.sin_port >> 8) & 0xff; j++;
355 encrypted_data[j] = (in_addr.sin_port) & 0xff; j++;