Lines Matching refs:u

294 		rr = connect(fd, &themaddr->u.sa, themaddr->len);  in connect_w_timeout()
326 getsockname(netfd, &ouraddr->u.sa, &ouraddr->len); in dolisten()
329 addr = xmalloc_sockaddr2dotted(&ouraddr->u.sa); in dolisten()
357 xconnect(netfd, &themaddr->u.sa, themaddr->len); in dolisten()
365 &remend.u.sa, &ouraddr->u.sa, ouraddr->len); in dolisten()
378 xconnect(netfd, &remend.u.sa, ouraddr->len); in dolisten()
386 rr = accept(netfd, &remend.u.sa, &remend.len); in dolisten()
392 sv_port = get_nport(&remend.u.sa); /* save */ in dolisten()
393 port = get_nport(&themaddr->u.sa); in dolisten()
397 set_nport(&remend.u.sa, 0); /* blot out remote port# */ in dolisten()
399 r = memcmp(&remend.u.sa, &themaddr->u.sa, remend.len); in dolisten()
400 set_nport(&remend.u.sa, sv_port); /* restore */ in dolisten()
405 char *remaddr = xmalloc_sockaddr2dotted(&remend.u.sa); in dolisten()
434 getsockname(netfd, &ouraddr->u.sa, &ouraddr->len); in dolisten()
468 lcladdr = xmalloc_sockaddr2dotted(&ouraddr->u.sa); in dolisten()
469 remaddr = xmalloc_sockaddr2dotted(&remend.u.sa); in dolisten()
470 remhostname = o_nflag ? remaddr : xmalloc_sockaddr2host(&remend.u.sa); in dolisten()
511 rr = xsocket(ouraddr->u.sa.sa_family, SOCK_STREAM, 0); in udptest()
512 set_nport(&themaddr->u.sa, htons(SLEAZE_PORT)); in udptest()
842 x = xsocket(ouraddr->u.sa.sa_family, x, 0); in nc_main()
847 (themaddr ? themaddr->u.sa.sa_family : AF_UNSPEC), in nc_main()
850 set_nport(&ouraddr->u.sa, htons(o_lport)); in nc_main()
861 || ouraddr->u.sa.sa_family != AF_UNIX in nc_main()
863 xbind(netfd, &ouraddr->u.sa, ouraddr->len); in nc_main()
899 themdotted = xmalloc_sockaddr2dotted(&themaddr->u.sa); in nc_main()