Lines Matching refs:fromp
243 doit(int f, union sockunion *fromp)
264 fromp->su_port = ntohs((u_short)fromp->su_port);
265 hp = gethostbyaddr((char *)&fromp->su_sin.sin_addr,
266 sizeof(struct in_addr), fromp->su_family);
270 (void)strcpy(hostname, inet_ntoa(fromp->su_sin.sin_addr));
273 (struct sockaddr *)fromp, fromp->su_len);
275 fromp->su_port = ntohs((u_short)fromp->su_port);
281 retval = do_krb_login(fromp);
291 if ((fromp->su_family != AF_INET
292 && fromp->su_family != AF_INET6
294 fromp->su_port >= IPPORT_RESERVED ||
295 fromp->su_port < IPPORT_RESERVED/2) {
296 getnameinfo((struct sockaddr *)fromp,
297 fromp->su_len,
306 if (fromp->su_family == AF_INET)
324 inet_ntoa(fromp->su_sin.sin_addr),
335 if (do_rlogin(fromp) == 0)